{{$laboratory->name}}

{{$laboratory->details->address}}

Name: {{$patient->name}} Age: {{$patient->age}} Gender: {{$patient->gender}}
Contact No: {{$patient->phone}} Date: {{date('d-m-Y')}} Patient Code: {{$patient->patient_code}}

@php $paid =0; @endphp @foreach ($payments as $payment) @php $paid += $payment->payment_amount; @endphp @endforeach @foreach ($tests as $test) @endforeach
# Test Name Amount
{{$loop->iteration}} {{$test->test_name}} ₹ {{number_format($test->test_amount,2)}}



Total Amount = ₹ {{number_format($patient->total_amount,2)}}
Paid Amount= ₹ {{number_format($paid,2)}}
Due Amount= ₹ {{number_format(($patient->total_amount-$paid),2)}}