| Reservation ID | Sample ID | Patient Name | Test | Payment Method | Subtotal | {{$global_symbol['tax'] ?? 'TAX'}} | Net Total | Paid | Remaining | Credit Note | Debit Note | Processing Unit | Status | Result Date | Paid By | Open/Closed |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{$order->END_USER_LAB_ORDER_ID}} | {{$order->ID}} | {{$order->PATIENT_NAME}} | {{$order->TEST_NAME}} | {{$order->PAYMENT_METHOD_NAME}} | {{$order->SUB_TOTAL}} | {{$order->TOTAL_TAX}} | {{round($order->TOTAL_PRICE,2)}} | {{empty($order->TOTAL_INVOICE) ? "0" : $order->TOTAL_INVOICE}} | {{round((empty($order->TOTAL_PRICE) ? 0 : $order->TOTAL_PRICE) - (($order->TOTAL_AMOUNT / 100)),2) }} | {{$order->TOTAL_CREDIT_NOTE}} | {{$order->TOTAL_DEBIT_NOTE}} | {{$order->PROCESSING_UNIT}} | {{$order->SAMPLE_STATUS}} | {{$order->APPROVE_TIME}} | {{$order->USERNAME}} | @if(($order->TOTAL_AMOUNT/100) < $order->TOTAL_PRICE) Open @else Closed @endif | Totals | {{$sub_total}} | {{$tax_total}} | {{$total_net}} | {{$total_invoice}} | {{$total_net - $total}} |