@if (!empty($receipt_details->display_name)) {{ $receipt_details->display_name }} @endif
@if (!empty($receipt_details->address))
{!! $receipt_details->address !!}
@endif
@if (!empty($receipt_details->contact))
{!! $receipt_details->contact !!}
@endif
Ref No: {{ $receipt_details->invoice_no }}
Date: {{ $receipt_details->transaction_date }}
@if (!empty($receipt_details->supplier_info))
Supplier:
{!! $receipt_details->supplier_info !!}
@endif
| Products | QTY | Unit Price | @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 }} | @endifTotal |
|---|---|---|---|---|---|
|
{{ $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['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 ($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['quantity'] }}
{{-- {{$line['units']}} --}}
@if ($line['quantity'] && $line['base_unit_multiplier'] !== 1)
{{ $line['quantity'] }} x {{ $line['base_unit_multiplier'] }} = {{ $line['orig_quantity'] }} {{ $line['base_unit_name'] }} @endif |
Rs {{ $line['unit_price_before_discount'] }} | @if (!empty($receipt_details->item_discount_label)){{ $line['total_line_discount'] ?? '0.00' }} @if (!empty($line['line_discount_percent'])) ({{ $line['line_discount_percent'] }}%) @endif | @endifRs {{ $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 | |||
| Sub Total: Rs {{ number_format($receipt_details->total_in_words, 2) }} |