<table class="table table-striped table-bordered dt-responsive nowrap" style="width:100%">
    <thead>
        <tr>
            <th colspan="2" style="text-align:center;font-size:17px;">Cash Payment</th>
            <th></th>
            <th colspan="2" style="text-align:center;font-size:17px;">Online Payment</th>
        <tr>
        <tr>
            <th id="Cash"><a href="javascript:void(0)" onclick="opdReport('Cash')" style="font-size:17px;">OPD</a></th>
            <td style="font-size:17px;"><?php echo e($opdcash); ?></td>
            <td></td>
            <th id="Online"><a href="javascript:void(0)" onclick="opdReport('Online')" style="font-size:17px;">OPD</a></th>
            <td style="font-size:17px;"><?php echo e($opdmobile+$opdcoupon); ?></td>
        </tr>
        <tr >
            <th id="ReceiptCash"><a href="javascript:void(0)" onclick="invstReport('Cash')" style="font-size:17px;">Investigation</a></th>
            <td style="font-size:17px;"><?php echo e($opdinvstreceipt); ?></td>
            <td></td>
            <th id="ReceiptOnline"  style="font-size:17px;"><a href="javascript:void(0)">Investigation</a></th>
            <td style="font-size:17px;"><?php echo e($opdonlinereceipt); ?></td>
        </tr>
        <!-- <tr >
            <th id="ReceiptCash"><a href="javascript:void(0)" onclick="opdReceiptReport('Cash')" style="font-size:17px;">OPD Receipt</a></th>
            <td style="font-size:17px;"><?php echo e($opdcashreceipt); ?></td>
            <td></td>
            <th id="ReceiptOnline"><a href="javascript:void(0)" onclick="opdReceiptReport('Online')" style="font-size:17px;">OPD Receipt</a></th>
            <td style="font-size:17px;">0</td>
        </tr> -->
        
        <tr id="Income">
            <th style="font-size:17px;">TOTAL</th>
            <td style="font-size:17px;"><?php echo e($totalcashincome); ?></td>
            <td></td>
            <th style="font-size:17px;">TOTAL</th>
            <td style="font-size:17px;"><?php echo e($totalonlineincome); ?></td>
        </tr>
       
      
        <tr >
            <th id="ExpenseCash"><a href="javascript:void(0)" onclick="opdExpenseReport('Cash')" style="font-size:17px;">EXPENSES</a></th>
            <td colspan="4" style="font-size:17px;"><?php echo e($opdcashexpense); ?></td>
           
        </tr>
        <tr>
            <th style="font-size:17px;">Amount</th>
            <td style="font-size:17px;"><?php echo e($totalcashincome - $opdcashexpense); ?></td>
            <td></td>
            <th style="font-size:17px;">Amount</th>
            <td style="font-size:17px;"><?php echo e($totalonlineincome - $opdonlineexpense); ?></td>
        </tr>
        <tr>
            <th colspan="5" style="height: 50px"></th>
        </tr>
        <tr>
            <th style="font-size: 20px;background-color: #afcecf;">Cash Amount</th>
            <td colspan="4"  style="font-size: 20px;background-color: #f3f3d7;"><?php echo e($totalcashincome); ?></td>
           
        </tr>
        <tr>
            <th style="font-size: 20px;background-color: #afcecf;">Online Amount</th>
            <td colspan="4"  style="font-size: 20px;background-color: #f3f3d7;"><?php echo e($totalonlineincome); ?></td>
           
        </tr>
        <tr>
            <th style="font-size:20px;background-color: #afcecf;">Total</th>
            <td colspan="4" style="font-size:20px;background-color: #f3f3d7;"><?php echo e($totalcashincome + $totalonlineincome); ?></td>
           
        </tr>
    </thead>
    <tbody>

    </tbody>
</table><?php /**PATH /home/gssnagpu/public_html/hospsoft.in/deshmukh_hosp/resources/views//opdreport/view-all-summary-report.blade.php ENDPATH**/ ?>