@if(!empty($receipt_details->display_name))
{{$receipt_details->display_name}}
@if(!empty($receipt_details->sub_heading_line1))
{{ $receipt_details->sub_heading_line1 }}
@endif
@if(!empty($receipt_details->sub_heading_line2))
@if(!empty($receipt_details->tax_info2)) {{ $receipt_details->tax_label2 }} {{ $receipt_details->tax_info2 }} @endif |
Bill to: |
Invoice No | Invoice Date | Bill Type |
{{$receipt_details->invoice_no}} | {{date("d-m-Y", strtotime($receipt_details->invoice_date))}} | @if(!empty($receipt_details->shipping_custom_field_1_label) || !empty($receipt_details->shipping_custom_field_2_label)){{$receipt_details->shipping_custom_field_1_value }} | @endif
S.No | @php $p_width = 20; @endphp @if($receipt_details->show_cat_code != 1) @php $p_width = 30; @endphp @endif{{$receipt_details->table_product_label}} | @if($receipt_details->show_cat_code == 1){{$receipt_details->cat_code_label}} | @endif{{$receipt_details->table_qty_label}} | @if(!empty($receipt_details->table_tax_headings)) @foreach($receipt_details->table_tax_headings as $tax_heading){{$tax_heading}} % | @php $totals[$tax_heading] = 0; @endphp @endforeach @endif{{$receipt_details->line_tax_label}} | RATE | |||
{{$loop->iteration}} |
@if(!empty($line['image']))
{{$line['lot_number_label']}}: {{$line['lot_number']}} @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 |
{{$line['product_custom_field4']}} | {{$line['quantity']}} | @if(!empty($receipt_details->table_tax_headings)) @foreach($receipt_details->table_tax_headings as $tax_heading)@if(!empty($line['group_tax_details'])) @foreach($line['group_tax_details'] as $tax_detail) @if(strpos($tax_detail['name'], $tax_heading) !== FALSE) @php $totals[$tax_heading] += $tax_detail['calculated_tax']; @endphp {{$tax_detail['calculated_tax']}} ({{$tax_detail['amount']}}%) @endif @endforeach @else @if(strpos($line['tax_name'], $tax_heading) !== FALSE) @php $totals[$tax_heading] += ($line['tax_unformatted'] * $line['quantity_uf']); @endphp {{$line['tax_unformatted'] * $line['quantity_uf']}} {{$line['tax_percent']}}% @endif @endif | @endforeach @endif{{$line['tax_percent']}}% | {{$line['line_total']}} | |||
{{$modifier['name']}} {{$modifier['variation']}} @if(!empty($modifier['sub_sku'])), {{$modifier['sub_sku']}} @endif @if(!empty($modifier['sell_line_note']))({!!$modifier['sell_line_note']!!}) @endif | @if($receipt_details->show_cat_code == 1)@if(!empty($modifier['cat_code'])) {{$modifier['cat_code']}} @endif | @endif{{$modifier['quantity']}} {{$modifier['units']}} | {{$modifier['unit_price_exc_tax']}} | {{$modifier['line_total']}} | |||||
@if($receipt_details->show_cat_code == 1) | @endif |
Total Qty: @if(!empty($receipt_details->total_quantity)) {{$receipt_details->total_quantity}} @endif |