| # | Bill No | Sale Date | Patient Name | Mobile No | Sub Total | Advance | Total Paid | Balance | Payment Mode | Delivery Date |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $row->BillNo }} | {{ date('d/m/Y', strtotime(str_replace('-', '/', $row->SaleDate))) }} | {{ $row->PatientName }} | {{ $row->MobileNo }} | ₹{{ number_format($subTotal, 2) }} | ₹{{ number_format($advance, 2) }} | ₹{{ number_format($totalPaid, 2) }} | ₹{{ number_format($balance, 2) }} | {{ $row->PayMode }} | @if(!empty($row->DeliveryDate)) {{ date('d/m/Y', strtotime(str_replace('-', '/', $row->DeliveryDate))) }} @endif |
| Total | ₹{{ number_format($totalSubTotal, 2) }} | ₹{{ number_format($totalAdvance, 2) }} | ₹{{ number_format($totalPaid, 2) }} | ₹{{ number_format($totalBalance, 2) }} |