@extends('operations.layout.mainlayout') @section('content') {{-- @if(session('role') != 4 && session('role') != 5 && session('role') != 8)--}} {{-- {{exit("

Unauthorized access

")}}--}} {{-- @endif--}}

Accounts Details Report


Payment Date from
Payment Date to
Client
Branch
Payment Method
Client Groups
Contract Types
Processing Unit
@foreach($orders as $order) @endforeach
Client Reservation ID Sample ID B2B Invoice Number B2B Invoice Date Patient Name MRN Test Payment Method Subtotal {{$global_symbol['tax'] ?? 'TAX'}} Net Total Cost Price P&L ( Subtotal - Cost ) Paid Remaining Credit Note Debit Note Status Registration Date Result Date Paid By Registration Branch Processing Unit Open/Closed Reference Doctor
{{$order->COMPANY_NAME}} {{$order->END_USER_LAB_ORDER_ID}} {{$order->ID}} {{$order->INVOICE_NO ?? ''}} {{$order->INVOICE_DATE ?? ''}} {{$order->PATIENT_NAME}} {{$order->MRN ?? ''}} {{$order->TEST_NAME}} {{$order->PAYMENT_METHOD_NAME}} {{$order->SUB_TOTAL}} {{$order->TOTAL_TAX}} {{round($order->TOTAL_PRICE,2)}} {{$order->TOTAL_COST ?? 0 }} {{$order->SUB_TOTAL - ($order->TOTAL_COST ?? 0) }} {{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->SAMPLE_STATUS}} {{$order->CREATE_DATE}} {{$order->APPROVE_TIME}} {{$order->USERNAME}} {{$order->NAME_EN}} {{$order->PROCESSING_UNIT}} @if(($order->TOTAL_AMOUNT/100) < $order->TOTAL_PRICE) Open @else Closed @endif {{$order->DOCTOR_NAME}}

Totals

{{$sub_total}}

{{$tax_total}}

{{$total_net}}

{{$total_cost}}

{{$sub_total - $total_cost}}

{{$total_invoice}}

{{$total_net - $total}}
@endsection