<table id="example" class="table table-striped table-bordered" style="width:100%">
        <thead>
            <tr>
            <th>Sr.No</th>
           <th>Mrd. No</th>
           <th>Name</th>
           <th>Fees</th>
           <th>Payment Mode</th>
           <th>Age/Gender</th>
           <th>Consultant</th>
           <th>Optometrist</th>
           <th>Users</th>
           <th>Date</th>
           <th>Out Time</th>
          
            </tr>
        </thead>
        <tbody>
        <?php $i=1;?>
        <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $result): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <tr>
             <td><?php echo e($i); ?></td>
             <td><?php echo e($result->MrdNo); ?></td>
             <td><?php echo e(strtoupper(strtolower($result->PatientName))); ?></td>
             <td>&#8377;<?php echo e(number_format($result->Amount,2)); ?></td>
             <td><?php echo e($result->PayMode); ?></td>
             <td><?php echo e($result->Age); ?>/<?php echo e($result->Gender); ?></td>
          
             <td><?php echo e($result->ConsultantName); ?></td>
             <td><?php echo e($result->ConfirmOpto); ?></td>
<td><?php echo e($result->CreatedByName); ?></td>

             <td><?php echo e(date("d/m/Y", strtotime(str_replace('-', '/',$result->InDate)))); ?></td>
         
             <td><?php echo e(date("h:i a", strtotime(str_replace('-', '/',$result->OutTime)))); ?></td>
            
        </tr>
        <?php $i++;?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

        <tr>
             <td><?php echo e($i); ?></td>
             <td></td>
             <th>Total </th>
         
            <th>&#8377;<?php echo e(number_format($sum,2)); ?></th>
             <td></td>
             <td></td>
             <td></td>
          
             <td></td>
             <td></td>
             <td></td>
             <td></td>
          
             
            
        </tr>
        </tbody>
    </table>
    <script type="text/javascript">
$(document).ready(function() {
    $('#example').DataTable({
        "scrollX": true,
        dom: 'Bfrtip',
        buttons: [

            'excelHtml5'

        ]
    });
});
</script><?php /**PATH C:\deshmukh_hosp\resources\views//opdreport/viewdailyqueuereport.blade.php ENDPATH**/ ?>