<?php $__currentLoopData = $stores; $__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><?php echo e($row->name); ?></td>
    <!--<td><?php echo e($row->description); ?></td>-->
    <td><?php echo e(substr_replace($row->description,"...",20)); ?></td>
    <td><?php echo e($row->address); ?></td>
    <td><?php echo e($row->facebook); ?></td>
    <td><?php echo e($row->youtube); ?></td>
    <td><?php echo e($row->twitter); ?></td>
    <td><?php echo e($row->instagram); ?></td>
    <td><?php echo e($row->email); ?></td>
    <td><?php echo e($row->phone); ?></td>
    <td><?php echo e($row->user->name); ?></td>
    <td><?php echo e(categoryname($row->category_id)); ?></td>
    <td><?php echo e(categoryname($row->model_id)); ?></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 ('stores.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 ('stores.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 ('stores.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 ('stores.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>
        <a href="<?php echo e(url('admin/storebranch/'.$row->id)); ?>"  class="icon " title="الفروع"><img src="<?php echo e(asset('assets/admin/images/icons/branch.png')); ?>" alt="الفروع"></a>
       <a href="<?php echo e(url('admin/storecobon/'.$row->id)); ?>"  class="icon " title="الكوبونات"><img src="<?php echo e(asset('assets/admin/images/icons/cobon.png')); ?>" alt="الكوبونات"></a>
       <a href="<?php echo e(url('admin/storeservice/'.$row->id)); ?>"  class="icon " title="الخدمات"><img src="<?php echo e(asset('assets/admin/images/icons/service.png')); ?>" alt="الخدمات"></a>
       <?php endif; ?>
    </td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

<?php if( count( $stores ) && $stores->hasPages() ): ?>
<tr> <td> <?php echo e($stores->links()); ?> </td> </tr>
<?php endif; ?>
<?php /**PATH /home/omaralyomhost/public_html/4u/resources/views/admin/stores/grid.blade.php ENDPATH**/ ?>