<?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=> $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
    <th scope="row">
        <div class="custom-control custom-checkbox">
            <input type="checkbox" class="custom-control-input selectOne deleteCheck" id="customCheck<?php echo e($row->id); ?>" value="<?php echo e($row->id); ?>" name="id[]">
            <label class="custom-control-label" for="customCheck<?php echo e($row->id); ?>"></label>
        </div>
    </th>
     <td style="width:50px;"><img src="<?php echo e(asset(old('image', $row->image ?? ''))); ?> " style="width:100%"  id="image_holder" class="image_holder"/></td>
    <td><?php echo e($row->name); ?></td>
   
    <td colspan="2"><?php echo e(\Carbon\Carbon::parse($row->created_at)->format('Y/m/d')); ?></td>
    <td>
        <?php if($row->deleted_at): ?>
            <a href="<?php echo e(route ('categories.restore', $row->id)); ?>" data-method="put" class="icon rowAction" title="<?php echo e(__('dashboard.restore')); ?>"><img src="<?php echo e(asset('assets/admin/images/icons/restore.svg')); ?>" alt="<?php echo e(__('dashboard.restore')); ?>"></a>

            <a href="<?php echo e(route ('categories.destroy', $row->id)); ?>" data-method="delete" class="icon rowAction" title="<?php echo e(__('dashboard.delete')); ?>"><img src="<?php echo e(asset('assets/admin/images/icons/close.svg')); ?>" alt="<?php echo e(__('dashboard.delete')); ?>"></a>
        <?php else: ?>
            <a href="<?php echo e(route ('categories.edit', $row->id)); ?>" class="icon" title="<?php echo e(__('dashboard.edit')); ?>"><img src="<?php echo e(asset('assets/admin/images/icons/draw.svg')); ?>" alt="<?php echo e(__('dashboard.edit')); ?>"></a>

            <a href="<?php echo e(route ('categories.destroy', $row->id)); ?>" data-method="delete" class="icon rowAction" title="<?php echo e(__('dashboard.trash')); ?>"><img src="<?php echo e(asset('assets/admin/images/icons/del.svg')); ?>" alt="<?php echo e(__('dashboard.trash')); ?>"></a>
        <?php endif; ?>
    </td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

<?php if( count( $categories ) && $categories->hasPages() ): ?>
<tr> <td> <?php echo e($categories->links()); ?> </td> </tr>
<?php endif; ?>
<?php /**PATH C:\xampp\htdocs\commerce\resources\views/admin/categories/grid.blade.php ENDPATH**/ ?>