<table id="example" class="table table-striped table-bordered dt-responsive nowrap" style="width:100%">
    <thead>
        <tr>
            
            <th>Mrd. No</th>
            <th>Patient Name</th>
           <th>Phone </th>
            <th>Issue Date</th>
            
             <th>Suffer From</th>
             <th>Consultant Name </th>
             <th>Registraion No </th>
             <th>Rest From </th>
             <th>Rest To </th>
             <th>Join Date </th>
             <th>Certificate  </th>
            <th>Action</th>
        </tr>
    </thead>
    <tbody>
        <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $result): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <tr>
         
             <td><?php echo e($result->MrdNo); ?></td>
             <td><?php echo e($result->PatientName); ?></td>
             <td><?php echo e($result->Phone); ?></td>
            
             <td><?php echo e(date("d/m/Y", strtotime(str_replace('-', '/',$result->CertiDate)))); ?></td>
           <td><?php echo e($result->SufferFrom); ?></td>
           <td><?php echo e($result->ConsultantName); ?></td>
            <td><?php echo e($result->RegNo); ?></td>
             <td><?php echo e(date("d/m/Y", strtotime(str_replace('-', '/',$result->RestFrom)))); ?></td>
              <td><?php echo e(date("d/m/Y", strtotime(str_replace('-', '/',$result->RestTo)))); ?></td>
               <td><?php echo e(date("d/m/Y", strtotime(str_replace('-', '/',$result->JoinDate)))); ?></td>
              <td><?php echo e($result->CertiName); ?></td>
           
             <td>
             <a data-id="" href='/editReferralForm/<?php echo e($result->id); ?>' data-toggle="tooltip" data-placement="top" title="Edit" data-original-title="Edit"><i class="fas fa-pencil-alt"></i></a>&nbsp;&nbsp;
             <a data-id="<?php echo e($result->id); ?>" href='javascript:void(0);' data-toggle="tooltip" data-placement="top" title="Delete" data-original-title="Delete" class="delete" id="bootbox-confirm"><i class="fas fa-trash"></i></a>&nbsp;&nbsp;
             <a onclick="printReferralForm(<?php echo e($result->id); ?>)"href='javascript:void(0);' data-toggle="tooltip" data-placement="top" title="Print" data-original-title="Print"><i class="fas fa-print"></i></a>
             </td>
            
        </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </tbody>
</table>
<script type="text/javascript">
$(document).ready(function() {
    $('#example').DataTable({
      "scrollX": true,
        dom: 'Bfrtip',
        buttons: [
            
            'excelHtml5'
           
        ]
    });
});
</script><?php /**PATH D:\Projects\Sidhha_Tech\st_projects\Laravel\deshmukh_hosp\resources\views//certificates/view-referral-form-lists.blade.php ENDPATH**/ ?>