@if(!empty($receipt_details->address))
{!! $receipt_details->address !!}
@endif
@if(!empty($receipt_details->contact))
{!! $receipt_details->contact !!}
@endif
@if(!empty($receipt_details->contact) && !empty($receipt_details->website))
,
@endif
@if(!empty($receipt_details->website))
{{ $receipt_details->website }}
@endif
@if(!empty($receipt_details->location_custom_fields))
{{ $receipt_details->location_custom_fields }}
@endif
@if(!empty($receipt_details->sub_heading_line1))
{{ $receipt_details->sub_heading_line1 }}
@endif
@if(!empty($receipt_details->sub_heading_line2))
{{ $receipt_details->sub_heading_line2 }}
@endif
@if(!empty($receipt_details->sub_heading_line3))
{{ $receipt_details->sub_heading_line3 }}
@endif
@if(!empty($receipt_details->sub_heading_line4))
{{ $receipt_details->sub_heading_line4 }}
@endif
@if(!empty($receipt_details->sub_heading_line5))
{{ $receipt_details->sub_heading_line5 }}
@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->invoice_heading))
@if(!empty($receipt_details->invoice_no_prefix))
{!! $receipt_details->invoice_no_prefix !!}
@endif
{{$receipt_details->invoice_no}}
@if(!empty($receipt_details->types_of_service))
{!! $receipt_details->types_of_service_label !!}:
{{$receipt_details->types_of_service}}
@if(!empty($receipt_details->types_of_service_custom_fields))
@foreach($receipt_details->types_of_service_custom_fields as $key => $value)
{{$key}}: {{$value}}
@endforeach
@endif
@endif
@if(!empty($receipt_details->table_label) || !empty($receipt_details->table))
@if(!empty($receipt_details->table_label))
{!! $receipt_details->table_label !!}
@endif
{{$receipt_details->table}}
@endif
@if(!empty($receipt_details->customer_info))
{{ $receipt_details->customer_label }}
{!! $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
@if(!empty($receipt_details->commission_agent_label))
{{ $receipt_details->commission_agent_label }} {{ $receipt_details->commission_agent }}
@endif
@if(!empty($receipt_details->customer_rp_label))
{{ $receipt_details->customer_rp_label }} {{ $receipt_details->customer_total_rp }}
@endif
{{$receipt_details->date_label}} {{$receipt_details->invoice_date}}
@if(!empty($receipt_details->due_date_label))
{{$receipt_details->due_date_label}} {{$receipt_details->due_date ?? ''}}
@endif
@if(!empty($receipt_details->brand_label) || !empty($receipt_details->repair_brand))
@if(!empty($receipt_details->brand_label))
{!! $receipt_details->brand_label !!}
@endif
{{$receipt_details->repair_brand}}
@endif
@if(!empty($receipt_details->device_label) || !empty($receipt_details->repair_device))
@if(!empty($receipt_details->device_label))
{!! $receipt_details->device_label !!}
@endif
{{$receipt_details->repair_device}}
@endif
@if(!empty($receipt_details->model_no_label) || !empty($receipt_details->repair_model_no))
@if(!empty($receipt_details->model_no_label))
{!! $receipt_details->model_no_label !!}
@endif
{{$receipt_details->repair_model_no}}
@endif
@if(!empty($receipt_details->serial_no_label) || !empty($receipt_details->repair_serial_no))
@if(!empty($receipt_details->serial_no_label))
{!! $receipt_details->serial_no_label !!}
@endif
{{$receipt_details->repair_serial_no}}
@endif
@if(!empty($receipt_details->repair_status_label) || !empty($receipt_details->repair_status))
@if(!empty($receipt_details->repair_status_label))
{!! $receipt_details->repair_status_label !!}
@endif
{{$receipt_details->repair_status}}
@endif
@if(!empty($receipt_details->repair_warranty_label) || !empty($receipt_details->repair_warranty))
@if(!empty($receipt_details->repair_warranty_label))
{!! $receipt_details->repair_warranty_label !!}
@endif
{{$receipt_details->repair_warranty}}
@endif
@if(!empty($receipt_details->service_staff_label) || !empty($receipt_details->service_staff))
@if(!empty($receipt_details->service_staff_label))
{!! $receipt_details->service_staff_label !!}
@endif
{{$receipt_details->service_staff}}
@endif
@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
{{-- sale order --}}
@if(!empty($receipt_details->sale_orders_invoice_no))
@lang('restaurant.order_no'): {!!$receipt_details->sale_orders_invoice_no ?? ''!!}
@endif
@if(!empty($receipt_details->sale_orders_invoice_date))
@lang('lang_v1.order_dates'): {!!$receipt_details->sale_orders_invoice_date ?? ''!!}
@endif
@if(!empty($receipt_details->sell_custom_field_1_value))
{{ $receipt_details->sell_custom_field_1_label }}: {!!$receipt_details->sell_custom_field_1_value ?? ''!!}
@endif
@if(!empty($receipt_details->sell_custom_field_2_value))
{{ $receipt_details->sell_custom_field_2_label }}: {!!$receipt_details->sell_custom_field_2_value ?? ''!!}
@endif
@if(!empty($receipt_details->sell_custom_field_3_value))
{{ $receipt_details->sell_custom_field_3_label }}: {!!$receipt_details->sell_custom_field_3_value ?? ''!!}
@endif
@if(!empty($receipt_details->sell_custom_field_4_value))
{{ $receipt_details->sell_custom_field_4_label }}: {!!$receipt_details->sell_custom_field_4_value ?? ''!!}
@endif
{{$receipt_details->table_product_label}} | {{$receipt_details->table_qty_label}} | {{$receipt_details->table_unit_price_label}} | @if(!empty($receipt_details->discounted_unit_price_label)){{$receipt_details->discounted_unit_price_label}} | @endif @if(!empty($receipt_details->item_discount_label)){{$receipt_details->item_discount_label}} | @endif{{$receipt_details->table_subtotal_label}} |
---|---|---|---|---|---|
@if(!empty($line['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['cat_code'])), {{$line['cat_code']}}@endif
@if(!empty($line['product_custom_fields'])), {{$line['product_custom_fields']}} @endif
@if(!empty($line['product_description']))
{!!$line['product_description']!!}
@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['base_unit_price']}} x {{$line['orig_quantity']}} = {{$line['line_total']}} @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']}} | @if(!empty($receipt_details->discounted_unit_price_label)){{$line['unit_price_inc_tax']}} | @endif @if(!empty($receipt_details->item_discount_label)){{$line['total_line_discount'] ?? '0.00'}} @if(!empty($line['line_discount_percent'])) ({{$line['line_discount_percent']}}%) @endif | @endif{{$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']}} | @if(!empty($receipt_details->discounted_unit_price_label)){{$modifier['unit_price_exc_tax']}} | @endif @if(!empty($receipt_details->item_discount_label))0.00 | @endif{{$modifier['line_total']}} |
@if(!empty($receipt_details->discounted_unit_price_label)) | @endif @if(!empty($receipt_details->item_discount_label)) | @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}} | |
{!! $receipt_details->all_bal_label !!} | {{$receipt_details->all_due}} |
{!! $receipt_details->total_quantity_label !!} | {{$receipt_details->total_quantity}} |
---|---|
{!! $receipt_details->total_items_label !!} | {{$receipt_details->total_items}} |
{!! $receipt_details->subtotal_label !!} | {{$receipt_details->subtotal}} |
@lang('lang_v1.exempt') | {{$receipt_details->total_exempt}} |
{!! $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}} |
{!! $receipt_details->tax_label !!} | (+) {{$receipt_details->tax}} |
{!! $receipt_details->round_off_label !!} | {{$receipt_details->round_off}} |
{!! $receipt_details->total_label !!} |
{{$receipt_details->total}}
@if(!empty($receipt_details->total_in_words))
({{$receipt_details->total_in_words}}) @endif |
{{$receipt_details->tax_summary_label}} | |
---|---|
{{$key}} | {{$val}} |
{!! nl2br($receipt_details->additional_notes) !!}