<?php $__currentLoopData = $branches; $__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->title); ?></td>
    <td><?php echo e($row->address); ?></td>
    <td><?php echo e($row->phone); ?></td>
    <td colspan="2"><?php echo e(\Carbon\Carbon::parse($row->created_at)->format('Y/m/d')); ?></td>
    <td>
        <a href="https://www.google.com/maps/@<?php echo $row->latitude?>,<?php echo $row->longitude?>,15z" target="_blank" class="icon" title="<?php echo e(__('branches.map')); ?>">
            <i class="fa fa-map-marker" style="color: #a00; font-size: 19px"></i>
        </a>
        <?php if(!in_array($currentUserInfo->role, ['editor', 'contributor'])): ?>
            <?php if($row->deleted_at): ?>
                <a href="<?php echo e(route ('branches.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 ('branches.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 ('branches.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 ('branches.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; ?>
        <?php else: ?>
            <a href="<?php echo e(route ('branches.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>
        <?php endif; ?>
    </td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

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