@lang('lang_v1.packing_slip')

@if(!empty($receipt_details->logo))
@endif @if(!empty($receipt_details->display_name))

{{$receipt_details->display_name}} @if(!empty($receipt_details->address))
{!! $receipt_details->address !!} @endif @if(!empty($receipt_details->contact))
{!! $receipt_details->contact !!} @endif @if(!empty($receipt_details->website))
{{ $receipt_details->website }} @endif @if(!empty($receipt_details->tax_info1))
{{ $receipt_details->tax_label1 }} {{ $receipt_details->tax_info1 }} @endif @if(!empty($receipt_details->tax_info2))
{{ $receipt_details->tax_label2 }} {{ $receipt_details->tax_info2 }} @endif @if(!empty($receipt_details->location_custom_fields))
{{ $receipt_details->location_custom_fields }} @endif

@endif

@if(!empty($receipt_details->invoice_no_prefix)) {!! $receipt_details->invoice_no_prefix !!} @endif {{$receipt_details->invoice_no}}

@if(!empty($receipt_details->date_label))

{{$receipt_details->date_label}} {{$receipt_details->invoice_date}}

@endif

@if(!empty($receipt_details->customer_label)) {{ $receipt_details->customer_label }}
@endif @if(!empty($receipt_details->customer_name)) {{ $receipt_details->customer_name }}
@endif @if(!empty($receipt_details->customer_info)) {!! $receipt_details->customer_info !!} @endif @if(!empty($receipt_details->client_id_label))
{{ $receipt_details->client_id_label }} {{ $receipt_details->client_id }} @endif @if(!empty($receipt_details->customer_tax_label))
{{ $receipt_details->customer_tax_label }} {{ $receipt_details->customer_tax_number }} @endif @if(!empty($receipt_details->customer_custom_fields))
{!! $receipt_details->customer_custom_fields !!} @endif @if(!empty($receipt_details->sales_person_label))
{{ $receipt_details->sales_person_label }} {{ $receipt_details->sales_person }} @endif
@lang('lang_v1.shipping_address'):
{!! $receipt_details->shipping_address !!} @if(!empty($receipt_details->shipping_custom_field_1_label))
{!!$receipt_details->shipping_custom_field_1_label!!} : {!!$receipt_details->shipping_custom_field_1_value ?? ''!!} @endif @if(!empty($receipt_details->shipping_custom_field_2_label))
{!!$receipt_details->shipping_custom_field_2_label!!}: {!!$receipt_details->shipping_custom_field_2_value ?? ''!!} @endif @if(!empty($receipt_details->shipping_custom_field_3_label))
{!!$receipt_details->shipping_custom_field_3_label!!}: {!!$receipt_details->shipping_custom_field_3_value ?? ''!!} @endif @if(!empty($receipt_details->shipping_custom_field_4_label))
{!!$receipt_details->shipping_custom_field_4_label!!}: {!!$receipt_details->shipping_custom_field_4_value ?? ''!!} @endif @if(!empty($receipt_details->shipping_custom_field_5_label))
{!!$receipt_details->shipping_custom_field_2_label!!}: {!!$receipt_details->shipping_custom_field_5_value ?? ''!!} @endif

@foreach($receipt_details->lines as $line) @if(!empty($line['modifiers'])) @foreach($line['modifiers'] as $modifier) @endforeach @endif @endforeach @php $lines = count($receipt_details->lines); @endphp @for ($i = $lines; $i < 7; $i++) @endfor
# {{$receipt_details->table_product_label}} {{$receipt_details->table_qty_label}}
{{$loop->iteration}} {{$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
{{$line['quantity']}} {{$line['units']}}
  {{$modifier['name']}} {{$modifier['variation']}} @if(!empty($modifier['sub_sku'])), {{$modifier['sub_sku']}} @endif @if(!empty($modifier['sell_line_note']))({!!$modifier['sell_line_note']!!}) @endif {{$modifier['quantity']}} {{$modifier['units']}}
     
@lang('lang_v1.authorized_signatory')
{{-- Barcode --}} @if($receipt_details->show_barcode)
@endif @if(!empty($receipt_details->footer_text))
{!! $receipt_details->footer_text !!}
@endif