<?php $__env->startSection('content'); ?>
<section class="content-header"  >
      <h1>
     Employees   
     <small>All Employees</small>
      </h1>
      
    </section>
    <br/>

<div class="box">
            <div class="box-header">
            </div>
            <!-- /.box-header -->
            <div class="box-body">
              <table id="example1"  class="table table-bordered table-striped">
                <thead>
                <tr>
                  <th style="text-align:center"> name  </th>
                  <th style="text-align:center"> phone 1  </th>
                  <th style="text-align:center"> phone 2  </th>
                  <th style="text-align:center"> hire date  </th>
                  <th style="text-align:center"> birth date  </th>
                  <th style="text-align:center"> Address  </th>
                  <th style="text-align:center"> Actions </th>
                </tr>
                </thead>
                <tbody>
                 <?php foreach( $customers as $customer ): ?>   
                <tr>
                 
                  <td style="text-align:center">
                 
                  <!-- <a href='<?php echo e(url("/customer/details/{$customer->id}")); ?>'> -->
                  <a href='#'>
                  <?php echo e($customer->fname); ?>  <?php echo e($customer->mname); ?> <?php echo e($customer->lname); ?>  
                       </a> 
                </td>
                   
                  <td style="text-align:center"><?php echo e($customer->phone1); ?> </td>
                  <td style="text-align:center">  <?php echo e($customer->phone2); ?>  </td>

                  <td style="text-align:center"><?php echo e($customer->hire_date); ?> </td>
                  <td style="text-align:center"><?php echo e($customer->birth_date); ?> </td>
                  <td style="text-align:center"><?php echo e($customer->address); ?></td>

                  <td style="text-align:center">
                  
             
                    

                    

          <!--  <a  href='<?php echo e(url("/customer/edit/$customer->id")); ?>'> -->
          <a  href='#'>
                         edit
                  </a> 

                   
 
                  </td>
                </tr>
                <?php endforeach; ?>
                </tbody>
                
              </table>
            </div>
            <!-- /.box-body -->
          </div>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>