@if(!empty($receipt_details->logo)) @endif @if(!empty($receipt_details->header_text))
{!! $receipt_details->header_text !!}
@endif
@if(!empty($receipt_details->invoice_heading)) {!! $receipt_details->invoice_heading !!} @endif
@if(!empty($receipt_details->invoice_no_prefix)) {!! $receipt_details->invoice_no_prefix !!} @endif {{$receipt_details->invoice_no}}
{{$receipt_details->date_label}} {{$receipt_details->invoice_date}}
@if(!empty($receipt_details->sales_person_label)) {{ $receipt_details->sales_person_label }} {{ $receipt_details->sales_person }} @endif
@forelse($receipt_details->lines as $line) @if(!empty($line['modifiers'])) @foreach($line['modifiers'] as $modifier) @endforeach @endif @empty @endforelse
{{$receipt_details->table_product_label}} {{$receipt_details->table_qty_label}} {{$receipt_details->table_unit_price_label}} {{$receipt_details->table_subtotal_label}}
{{$line['name']}} {{$line['variation']}} @if(!empty($line['sub_sku'])), {{$line['sub_sku']}} @endif @if(!empty($line['brand'])), {{$line['brand']}} @endif @if(!empty($line['cat_code'])), {{$line['cat_code']}}@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
{{$line['quantity']}} {{$line['units']}} {{$line['unit_price_inc_tax']}} {{$line['line_total']}}
{{$modifier['name']}} {{$modifier['variation']}} @if(!empty($modifier['sub_sku'])), {{$modifier['sub_sku']}} @endif @if(!empty($modifier['cat_code'])), {{$modifier['cat_code']}}@endif @if(!empty($modifier['sell_line_note']))({{$modifier['sell_line_note']}}) @endif {{$modifier['quantity']}} {{$modifier['units']}} {{$modifier['unit_price_inc_tax']}} {{$modifier['line_total']}}
@if(!empty($receipt_details->payments)) @foreach($receipt_details->payments as $payment) @endforeach @endif @if(!empty($receipt_details->total_paid)) @if(!empty($receipt_details->total_due)) @endif @endif
{{$payment['method']}} {{$payment['amount']}} {{$payment['date']}}
{!! $receipt_details->total_paid_label !!} {{$receipt_details->total_paid}} {!! $receipt_details->total_due_label !!} {{$receipt_details->total_due}}
@if(!empty($receipt_details->footer_text))
{!! $receipt_details->footer_text !!}
@endif