<div class="" id="customerTable">
<table class="table table-bordered table-striped">
    <thead>
        <tr>
            
            <th><?php echo e(trans('customer.name')); ?></th>
            <th><?php echo e(trans('customer.email')); ?></th>
            <th class="hidden-xs"><?php echo e(trans('customer.phone_number')); ?></th>
            <th class="hidden-xs"><?php echo e(trans('customer.avatar')); ?></th>
            <th class="text-center">Actions</th>
        </tr>
    </thead>
    <tbody>
    <?php $__currentLoopData = $customers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <tr>
          
          <td><?php echo e($value->name); ?></td>
          <td><?php echo e($value->email); ?></td>
          <td class="hidden-xs"><?php echo e($value->phone_number); ?></td>
          <td class="hidden-xs"><img src="<?php echo e($value->fileUrl()); ?>" alt="" height="25"></td>
          <td class="item_btn_group">
          <?php
            $actions = [
              ['data-replace'=>'#showCustomer','url'=>'#showCustomerModal','ajax-url'=>url('customers/' . $value->id . '/'), 'name'=>'View Profile', 'icon'=>'eye'],
              ['data-replace'=>'#editCustomer','url'=>'#editCustomerModal','ajax-url'=>url('customers/'.$value->id.'/edit'), 'name'=>trans('item.edit'), 'icon'=>'pencil'],
              ['url'=>'customers/' . $value->id,'name'=>'delete']];
            ?>
            <?php echo $__env->make('partials.actions', ['actions'=>$actions], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
          </td>
            
        </tr>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </tbody>
  </table>
  <?php echo $__env->make('partials.pagination', ['items'=>$customers, 'index_route'=>route('customers.index')], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div><?php /**PATH /Users/ajitdas/prjs-mega/flexiblepos-v2.0/resources/views/customer/table.blade.php ENDPATH**/ ?>