<div class="table-responsive">
    <table class="table table-hover" id="InventoryDepartMentTable">
        <thead>
            <tr>
                <td> #SL</td>
                <td> Name</td>
                <td> Description</td>
                <td> Action</td>
            </tr>
        </thead>

        <tbody>
            <?php $i=0; ?>
            <?php $__currentLoopData = $departments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $department): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr>
                    <td> <?php echo e(++$i); ?></td>
                    <td> <?php echo e($department->name); ?></td>
                    <td> <?php echo e($department->description); ?></td>
                    <td>
                        <a href="<?php echo e(route('inventory.department.edit',$department->id)); ?>" class="btn btn-edit btn-success far fa-edit"></a>
                        <?php echo e(Form::button('',['class'=>'btn btn-danger fas fa-trash-alt erase','data-id'=>$department->id,'data-url'=>route('inventory.department.destroy')])); ?>


                    </td>
                </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </tbody>

    </table>
</div><?php /**PATH /home/welluugs/purchase.wellgrouperp.com/resources/views/inventory/department/departments-inventory.blade.php ENDPATH**/ ?>