@extends('app') @section('content')
Print
From
{{$hospital->name}}
Baitussharf Masjid Complex
Farmgate, Dhaka
Phone:
Email: info@domain.com
To @if(Session::has('patientInfo'))
{{Session::get('patientInfo.patient_name')}}
{{Session::get('patientInfo.patient_address')}}
Phone: {{Session::get('patientInfo.patient_contact')}}
Email: {{Session::get('patientInfo.email')}}
@endif
Invoice {{$receiptInfo->invoice_id}}

Invoice Date: {{date("d F, Y")}}
@if(Session::has('saleItems')) @foreach(Session::get('saleItems') as $mainKey => $saleItems) @foreach($saleItems as $packageKey => $packageItems) @if($packageKey != 'No-Package')
@endif @foreach($packageItems as $groupKey => $groupItems) @if($groupKey == 'No-Group') @else @foreach($groupItems as $serviceKey => $saleItem) @endforeach @endif @endforeach @endforeach @endforeach @endif
SL Test Name Qty Sale Price Disc Total
{{$packageKey}}
1 {{$groupItems['diagnostic_test_name']}}
{{$groupItems['quantity']}}
{{$groupItems['diagnostic_test_sale_price']}}
{{$groupItems['discount']}}
{{$groupItems['total']}}
{{$groupKey}}
1 {{$saleItem['diagnostic_test_name']}}
{{$saleItem['quantity']}}
{{$saleItem['diagnostic_test_sale_price']}}
{{$saleItem['discount']}}
{{$saleItem['total']}}

Subtotal: {{$receiptInfo->total_amount}}
Discount: {{$receiptInfo->discount}}
Total: {{$receiptInfo->total_amount - $receiptInfo->discount}}
Paid: {{$receiptInfo->pay}}
Due: {{$receiptInfo->due}}
Pay Note: {{$receiptInfo->pay_note}}
Return: {{$receiptInfo->return}}
@endsection @section('extra-js') @endsection @section('script')