<table id="example" class="table table-striped table-bordered dt-responsive nowrap" style="width:100%">
    <thead>
        <tr>
            <th>Sr.No</th>
            <th>Charges Name</th>
            <!-- <th>Days / Unit</th>
            <th>Rate</th> -->
            <th>Amount</th>
             <th>Action</th>
        </tr>
    </thead>
    <tbody>
        <?php $i=1;?>
        <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $result): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <tr style="cursor: pointer;" onclick="updateCharges(<?php echo e($result->id); ?>,'<?php echo e($result->Name); ?>','<?php echo e($result->Amount); ?>')">
            <td><?php echo e($i); ?></td>
            <td><?php echo e($result->Name); ?></td>
            <!-- <td><?php echo e($result->Days); ?></td>
            <td><?php echo e($result->Rate); ?></td> -->
            <td>&#8377;<?php echo e(number_format($result->Amount,2)); ?></td>
              <td>
                <!--<a data-id="<?php echo e($result->id); ?>" href='javascript:void(0);' data-toggle="tooltip" data-placement="top" title="Edit"
                    data-original-title="Edit" class="update"><i class="lnr lnr-pencil mr-2"></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="lnr lnr-trash text-danger"></i></a>
            </td>  
        </tr>
        <?php $i++;?>
        <?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/ipd/incipdbillchargeview2.blade.php ENDPATH**/ ?>