Patient ID: {{$receipt_details->patient_id}}
Age/Sex: {{$receipt_details->custom_field1}} / {{$receipt_details->gender}} Date: {{ \Carbon\Carbon::parse($receipt_details->invoice_date)->format('d-m-Y') }}
Name: {{$receipt_details->patient_name}}
Mobile: {{$receipt_details->patient_mobile}}
Address: {{$receipt_details->patient_address_line_1}} @if(!empty($receipt_details->patient_address_line_2)) {{$receipt_details->patient_address_line_2}}
@endif @if(!empty($receipt_details->patient_city)) {{$receipt_details->patient_city}} @endif @if(!empty($receipt_details->patient_zip_code)){{$receipt_details->patient_zip_code}} @endif @if(!empty($receipt_details->patient_state)) {{$receipt_details->patient_state}} @endif @if(!empty($receipt_details->patient_country)) {{$receipt_details->patient_country}} @endif
BP: {{$receipt_details->sell_custom_field_3_value}}
@php $p_width = 20; @endphp @if($receipt_details->show_cat_code != 1) @php $p_width = 30; @endphp @endif @if($receipt_details->show_cat_code == 1) @endif @foreach($receipt_details->lines as $line) @if($receipt_details->show_cat_code == 1) @endif @endforeach @php $lines = count($receipt_details->lines); @endphp @for ($i = $lines; $i < 8; $i++) @if($receipt_details->show_cat_code == 1) @endif @endfor
# {{$receipt_details->table_product_label}} {{$receipt_details->cat_code_label}} {{$receipt_details->table_qty_label}} {{$receipt_details->table_unit_price_label}} {{$receipt_details->table_subtotal_label}}
{{$loop->iteration}} @if(!empty($line['image'])) Image @endif {{$line['name']}} {{$line['product_variation']}} {{$line['variation']}} @if(!empty($line['sub_sku'])), {{$line['sub_sku']}} @endif @if(!empty($line['brand'])), {{$line['brand']}} @endif @if(!empty($line['product_custom_fields'])), {{$line['product_custom_fields']}} @endif @if(!empty($line['sell_line_note']))
{!!$line['sell_line_note']!!} @endif @if(!empty($line['lot_number']))
{{$line['lot_number_label']}}: {{$line['lot_number']}} @endif @if(!empty($line['product_expiry'])), {{$line['product_expiry_label']}}: {{$line['product_expiry']}} @endif @if(!empty($line['warranty_name']))
{{$line['warranty_name']}} @endif @if(!empty($line['warranty_exp_date'])) - {{@format_date($line['warranty_exp_date'])}} @endif @if(!empty($line['warranty_description'])) {{$line['warranty_description'] ?? ''}}@endif @if($receipt_details->show_base_unit_details && $line['quantity'] && $line['base_unit_multiplier'] !== 1)
1 {{$line['units']}} = {{$line['base_unit_multiplier']}} {{$line['base_unit_name']}}
{{$line['unit_price_inc_tax']}} x {{$line['quantity']}} = {{$line['line_total']}}
@endif
@if(!empty($line['cat_code'])) {{$line['cat_code']}} @endif {{$line['quantity']}} {{$line['units']}} @if($receipt_details->show_base_unit_details && $line['quantity'] && $line['base_unit_multiplier'] !== 1)
{{$line['quantity']}} x {{$line['base_unit_multiplier']}} = {{$line['orig_quantity']}} {{$line['base_unit_name']}} @endif
{{$line['unit_price_before_discount']}} {{$line['line_total']}}
            
@if(!empty($receipt_details->payments)) @foreach($receipt_details->payments as $payment) @endforeach @endif
{{$payment['method']}} {{$payment['amount']}} {{$payment['date']}}
@if(!empty($receipt_details->total_quantity_label)) @endif @if(!empty($receipt_details->total_items_label)) @endif @if(!empty($receipt_details->shipping_charges)) @endif @if(!empty($receipt_details->packing_charge)) @endif @if( !empty($receipt_details->discount) ) @endif @if( !empty($receipt_details->total_line_discount) ) @endif @if( !empty($receipt_details->additional_expenses) ) @foreach($receipt_details->additional_expenses as $key => $val) @endforeach @endif @if( !empty($receipt_details->reward_point_label) ) @endif @if(!empty($receipt_details->group_tax_details)) @foreach($receipt_details->group_tax_details as $key => $value) @endforeach @else @if( !empty($receipt_details->tax) ) @endif @endif @if( $receipt_details->round_off_amount > 0) @endif @if(!empty($receipt_details->total_due) && !empty($receipt_details->total_due_label)) @endif
{!! $receipt_details->total_quantity_label !!} {{$receipt_details->total_quantity}}
{!! $receipt_details->total_items_label !!} {{$receipt_details->total_items}}
{!! $receipt_details->shipping_charges_label !!} {{$receipt_details->shipping_charges}}
{!! $receipt_details->packing_charge_label !!} {{$receipt_details->packing_charge}}
{!! $receipt_details->discount_label !!} (-) {{$receipt_details->discount}}
{!! $receipt_details->line_discount_label !!} (-) {{$receipt_details->total_line_discount}}
{{$key}}: (+) {{$val}}
{!! $receipt_details->reward_point_label !!} (-) {{$receipt_details->reward_point_amount}}
{!! $key !!} (+) {{$value}}
{!! $receipt_details->tax_label !!} (+) {{$receipt_details->tax}}
{!! $receipt_details->round_off_label !!} {{$receipt_details->round_off}}
@if($receipt_details->total_due == 0) Total Paid: @else {!! $receipt_details->total_paid_label !!} @endif {{$receipt_details->total_paid}}
{!! $receipt_details->total_due_label !!} {{$receipt_details->total_due}}
@if(empty($receipt_details->hide_price) && !empty($receipt_details->tax_summary_label) ) @if(!empty($receipt_details->taxes)) @foreach($receipt_details->taxes as $key => $val) @endforeach
{{$receipt_details->tax_summary_label}}
{{$key}} {{$val}}
@endif @endif
@if(!empty($receipt_details->additional_notes))

{!! nl2br($receipt_details->additional_notes) !!}

@endif @if(!empty($receipt_details->total_in_words))
Amount in Words: {{ \Illuminate\Support\Str::title($receipt_details->total_in_words) }} Rupees Only /-
@endif
@if(!empty($receipt_details->footer_text))
{!! $receipt_details->footer_text !!}
@endif @if($receipt_details->show_barcode || $receipt_details->show_qr_code)
{{-- Barcode --}} @if($receipt_details->show_barcode) @endif @if($receipt_details->show_qr_code && !empty($receipt_details->qr_code_text)) @endif
@endif
REGARDS :-
SWASTHA VAIDYASALA