@if(!empty($receipt_details->invoice_no_prefix)) {!! $receipt_details->invoice_no_prefix !!} @endif {{$receipt_details->invoice_no}} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@if(!empty($receipt_details->header_text))
{!! $receipt_details->header_text !!}
@endif
@php
$sub_headings = implode(' ', array_filter([$receipt_details->sub_heading_line1, $receipt_details->sub_heading_line2, $receipt_details->sub_heading_line3, $receipt_details->sub_heading_line4, $receipt_details->sub_heading_line5])); @endphp @if(!empty($sub_headings)) {!! $sub_headings !!} @endif @if(!empty($receipt_details->invoice_heading)) {!! $receipt_details->invoice_heading !!} @endif |
@else
@endif | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@if(!empty($receipt_details->invoice_no_prefix))
{!! $receipt_details->invoice_no_prefix !!}
@endif
{{$receipt_details->invoice_no}}
@if(!empty($receipt_details->total_due) && !empty($receipt_details->total_due_label))
{!! $receipt_details->total_due_label !!}
{{$receipt_details->total_due}}
@endif
@if(!empty($receipt_details->all_due))
{!! $receipt_details->all_bal_label !!}
{{$receipt_details->all_due}}
@endif
@if(!empty($receipt_details->total_paid))
{!! $receipt_details->total_paid_label !!}
{{$receipt_details->total_paid}}
@endif
@if(!empty($receipt_details->date_label))
{{$receipt_details->date_label}}
{{$receipt_details->invoice_date}}
@endif
@if(!empty($receipt_details->due_date_label))
{{$receipt_details->due_date_label}}
{{$receipt_details->due_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
@if(!empty($receipt_details->customer_label))
{{ $receipt_details->customer_label }}
@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 @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 @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}}@if(!$loop->last), @endif @endforeach @endif @endif
@if(empty($receipt_details->letter_head))
@if(!empty($receipt_details->logo))
@endif
@if(!empty($receipt_details->display_name))
@if(!empty($receipt_details->table_label)) {!! $receipt_details->table_label !!} @endif {{$receipt_details->table}} @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->brand_label) || !empty($receipt_details->repair_brand))
@if(!empty($receipt_details->brand_label))
{!! $receipt_details->brand_label !!}
@endif
{{$receipt_details->repair_brand}}
@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_5_label!!} : {!!$receipt_details->shipping_custom_field_5_value ?? ''!!}
@endif
@lang('restaurant.order_no'): {!!$receipt_details->sale_orders_invoice_no ?? ''!!}
@lang('lang_v1.order_dates'): {!!$receipt_details->sale_orders_invoice_date ?? ''!!}
@includeIf('sale_pos.receipts.partial.common_repair_invoice')
@if(empty($receipt_details->hide_price) && !empty($receipt_details->tax_summary_label) )
@if(!empty($receipt_details->taxes))
@if(!empty($receipt_details->additional_notes))
{!! nl2br($receipt_details->additional_notes) !!}
@if(!empty($receipt_details->footer_text))
@endif
@if($receipt_details->show_barcode || $receipt_details->show_qr_code)
@endif
|