@php // Comprehensive invoice design (classic4): Complete invoice with all variables @endphp @if (!empty($receipt_details->a4_print_css)) @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']))
{{$line['name']}}
@if(!empty($line['product_variation']) || !empty($line['variation']))
{{$line['product_variation']}} {{$line['variation']}}
@endif
@if(!empty($line['sub_sku']))
SKU: {{$line['sub_sku']}}
@endif
@if(!empty($line['brand']))
{{$line['brand']}}
@endif
@if(!empty($line['cat_code']))
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']}}
@if(!empty($line['warranty_exp_date'])) - {{@format_date($line['warranty_exp_date'])}} @endif
@if(!empty($line['warranty_description'])) {{$line['warranty_description']}} @endif
@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']}}
@endif
|
{{$line['quantity']}} {{$line['units']}}
@if($receipt_details->show_base_unit_details && $line['quantity'] && $line['base_unit_multiplier'] !== 1)
{{$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']}}
@if(!empty($modifier['variation'])) {{$modifier['variation']}} @endif
@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_exc_tax']}} | @if(!empty($receipt_details->discounted_unit_price_label)){{$modifier['unit_price_inc_tax']}} | @endif @if(!empty($receipt_details->item_discount_label))0.00 | @endif{{$modifier['line_total']}} |
| @lang('lang_v1.no_data') | |||||
| {{$payment['method']}} | {{$payment['amount']}} |
| {{$key}} | {{$val}} |
| {{$key}} | {{$val}} |
| {{$payment['method']}} | {{$payment['amount']}} |