{!! $invoice_template['title'] !!}

INVOICE

{{-- customer block --}}
អតិថិជន {{ $sale['customer_name'] }}
អាស័យដ្ឋាន {{ $sale['customer_address'] }}
លេខទូរស័ព្ទ {{ $sale['customer_phone'] }}
{{-- company block --}}
{{-- --}}
លេខវិក័យប័ត្រ {{ $sale['ref_no'] }}
កាលបរិច្ឆេទ {{ $sale['transaction_date'] }}
អ្នកគិតលុយ {{ $sale['seller'] }}
@php $sortedSaleLists = collect($sale_lists)->sortBy('id')->values(); @endphp @foreach ($currencies as $index => $item) @endforeach @foreach ($sortedSaleLists as $index => $row) @foreach ($currencies as $item) @if ($item['symbol'] === $row['currency_symbol']) @endif @if ($item['symbol'] != $row['currency_symbol']) @endif @endforeach @endforeach @foreach ($currencies as $index => $item) @endforeach @if ($sale['outstanding_amount'] > 0) @foreach ($currencies as $index => $item) @endforeach @endif @foreach ($currencies as $index => $item) @endforeach @foreach ($currencies as $index => $item) @endforeach
ល.រ មុខទំនិញ ចំនួន តម្លៃរាយ {{ $item['name'] }}
{{ $index + 1 }} {{ $row['product_variation_name'] }} {{ $row['price'] == 0 ? '(ថែម)' : '' }} @if ($row['remark'] != null)
{{ $row['remark'] }} @endif
{{ App\Helpers\StringHelper::currency($row['qty']) }} {{ $row['unit_type_name'] }} {{ $row['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($row['price']) }} {{ $row['currency_code'] == 'THB' ? 'B' : $row['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($row['total_price']) }} {{ $item['code'] == 'THB' ? 'B' : $item['symbol'] }} 0

ផ្សេងៗ:

{{ $sale['remark'] }}
{!! $invoice_template['term_and_condition'] !!}
សរុប: @foreach ($get_sub_total_sum_by_currency as $i => $obj) @if ($obj['currency_id'] == $item['id']) {{ $item['pdf_symbol'] }} {{ App\Helpers\StringHelper::currency($obj['total_price']) }} @endif @endforeach
ជំពាក់ពីមុន: {{ $item['pdf_symbol'] }} {{ App\Helpers\StringHelper::currency( ($sale['outstanding_amount'] / $sale['sell_out_price']) * $item['sell_out_price'], ) }}
សង: {{ $item['pdf_symbol'] }} {{ App\Helpers\StringHelper::currency( ($sale['total_paid'] / $sale['sell_out_price']) * $item['sell_out_price'], ) }}
ជំពាក់: {{ $item['pdf_symbol'] }} {{ App\Helpers\StringHelper::currency( (($sale['total_payment'] - $sale['total_paid']) / $sale['sell_out_price']) * $item['sell_out_price'], ) }}

{!! $invoice_template['footer_text'] !!}