@if ($invoice_template['logo'] != null && $invoice_template['is_display_logo'] == 1) @endif

វិក័យប័ត្រ

លេខវិក័យប័ត្រ {{ $sale['ref_no'] }}
អតិថិជន {{ $sale['customer_name'] }}
ថ្ងៃ-ខែ-ឆ្នាំ {{ $sale['transaction_date'] }}
អ្នកគិតលុយ {{ $sale['seller'] }}
@php $sortedSaleLists = collect($sale_lists)->sortBy('id'); @endphp @foreach ($sortedSaleLists as $row) @endforeach {{-- total_by_currency --}} {{-- --}} {{-- sub_total --}} {{-- discount --}} @if ($sale['discount_value'] != null && $sale['discount_value'] > 0) @endif {{-- Outstanding Amount --}} {{-- Outstanding Amount --}} {{-- grand_total --}}
បរិយាយ ចំនួន តំលៃ សរុប
{{ $row['product_variation_name'] }} @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_symbol'] }} {{ App\Helpers\StringHelper::currency($row['total_price']) }}
@foreach (json_decode($sale['total_payment_by_currency']) as $index => $item) @if ($index != count(json_decode($sale['total_payment_by_currency'])) - 1) {{ '|' }} @endif @endforeach
សរុប: @foreach ($currencies as $index => $item) @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 @endforeach {{-- {{ $sale['currency_code'] == 'THB' ? 'B' : $sale['currency_symbol'] }} --}} {{-- {{ App\Helpers\StringHelper::currency($sale['total_payment'] - $sale['outstanding_amount']) }} --}} {{-- {{ App\Helpers\StringHelper::currency($sale['total_payment']) }} --}}
បញ្ចុះតម្លៃ: @if ($sale['discount_type'] == 1) {{ $sale['currency_symbol'] }} @endif {{ App\Helpers\StringHelper::currency($sale['discount_value']) }} @if ($sale['discount_type'] == 0) % @endif
នៅខ្វះ: {{ $sale['currency_code'] == 'THB' ? 'B' : $sale['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($sale['outstanding_amount']) }}
ទូទាត់: {{ $sale['currency_code'] == 'THB' ? 'B' : $sale['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($sale['total_paid']) }}
សរុបនៅខ្វះចុងក្រោយ: {{ $sale['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($sale['total_payment'] + $sale['outstanding_amount'] - $sale['total_paid']) }}
@if ($row['remark'] != null)
ផ្សេងៗ:
{{ $sale['remark'] }}
@endif