<table id="example5" class="table table-striped table-bordered dt-responsive nowrap" style="width:100%">
    <thead>
        <tr>
            <th>Sr.No</th>
            <!-- <th>Receipt No</th> -->
            <th>Narration</th>
            <th>Amount</th>
            <!-- <th>Payment Mode</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->id); ?></td> -->
            <td><?php echo e($result->Narration); ?></td>
            <td><?php echo e(number_format($result->Amount,2)); ?></td>
            <!-- <td><?php echo e($result->PayMode); ?></td> -->
          
        </tr>
        <?php $i++;?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <tr>
           
             <td><?php echo e($i); ?></td>
             <!-- <td></td> -->
             <th>Total </th>
             <th><?php echo e(number_format($sum,2)); ?></th>
             <!-- <td></td> -->
           
        </tr>
    </tbody>
</table>
<script type="text/javascript">
$(document).ready(function() {
    $('#example5').DataTable({
        "scrollX": true,
        dom: 'Bfrtip',
        buttons: [

            'excelHtml5'

        ]
    });
});
</script><?php /**PATH /home/gssnagpu/public_html/hospsoft.in/deshmukh_hosp/resources/views//opdreport/view-opd-expense-report.blade.php ENDPATH**/ ?>