

<?php $__env->startSection('content'); ?>


<!-- Begin Page Content -->
<div class="container-fluid">
 

  <!-- DataTales Example -->
  <div class="card shadow mb-4">
    <div class="card-header py-3">
      <h6 class="m-0 font-weight-bold text-primary"><?php echo e(__('messages.Delivery_Boy')); ?></h6>
      <?php if(count($errors) > 0): ?>
                  <?php if($errors->any()): ?>
                    <div class="alert alert-primary" role="alert">
                      <?php echo e($errors->first()); ?>

                      <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                        <span aria-hidden="true">×</span>
                      </button>
                    </div>
                  <?php endif; ?>
              <?php endif; ?>
    </div>
    <div class="card-body">
      <div class="table-responsive">
        <table class="table table-bordered" id="example10" width="100%" cellspacing="0">
          <thead>
            <tr>
            <th><?php echo e(__('messages.s_n')); ?></th>
            <th><?php echo e(__('messages.Delivery_Boy_Name')); ?></th>
            <th><?php echo e(__('messages.Delivery_Boy_Image')); ?></th>
            <th><?php echo e(__('messages.Delivery_Boy_Phone')); ?></th>
            </tr>
          </thead>
          <tfoot>
            <tr>
            <th><?php echo e(__('messages.s_n')); ?></th>
            <th><?php echo e(__('messages.Delivery_Boy_Name')); ?></th>
            <th><?php echo e(__('messages.Delivery_Boy_Image')); ?></th>
            <th><?php echo e(__('messages.Delivery_Boy_Phone')); ?></th>
            </tr>
          </tfoot>
          <tbody>
          <?php if(count($delivery_boy)>0): ?>
                          <?php $i=1; ?>
                          <?php $__currentLoopData = $delivery_boy; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $delivery_boys): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($i); ?></td>
                            <td><?php echo e($delivery_boys->delivery_boy_name); ?></td>
                            <td align="center" class="image-hover"><img src="<?php echo e(url($delivery_boys->delivery_boy_image)); ?>" style="width: 41px;"></td>
                            <td><?php echo e($delivery_boys->delivery_boy_phone); ?></td>
                     
                       

                        </tr>
                        <?php $i++; ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                      <?php else: ?>
                        <tr>
                          <td><?php echo e(__('messages.No_data_found')); ?></td>
                        </tr>
                      <?php endif; ?>
                       
          </tbody>
        </table>
      </div>
    </div>
  </div>

</div>
<!-- /.container-fluid -->
</div>
</div>
<?php $__currentLoopData = $delivery_boy; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $delivery_boys): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<!-- Modal -->
<div class="modal fade" id="exampleModal<?php echo e($delivery_boys->delivery_boy_id); ?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
	<div class="modal-dialog" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<h5 class="modal-title" id="exampleModalLabel">Delete delivery_boy</h5>
					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
			</div>
			<div class="modal-body">
				Are you want to delete Delivery Boy.
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
				<a href="<?php echo e(route('vendordeletedelivery_boy', $delivery_boys->delivery_boy_id)); ?>" class="btn btn-primary">Delete</a>
			</div>
		</div>
	</div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>   
<?php $__env->stopSection(); ?>
<?php echo $__env->make('resturant.layout.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>