{{--header block--}}
ផ្នែកលក់ 017 775 787, 086 775 787, 088 662 2718 {{-- ផ្នែកលក់: {{ $sale['branch_phone'] }} @if($sale['branch_alt_phone'] != null) / {{ $sale['branch_alt_phone'] }} @endif--}}
INVOICE
{{--customer block--}}
អតិថិជន៖ {{ $sale['customer_name'] }}
អាស័យដ្ឋាន៖ {{ $sale['customer_address'] }}
លេខទូរស័ព្ទ៖ {{ $sale['customer_phone'] }}
{{--company block--}}
លេខវិក័យប័ត្រ៖ {{ $sale['ref_no'] }}
អ្នកលក់៖ {{ $sale['seller'] }}
ថ្ងៃ-ខែ-ឆ្នាំ៖ {{ $sale['transaction_date'] }}
@foreach($currencies as $index => $item) @endforeach @foreach($sale_lists as $row) @foreach($currencies as $index => $item) @if($item['symbol'] == $row['currency_symbol']) @endif @if($item['symbol'] != $row['currency_symbol']) @endif @endforeach @endforeach {{--total_by_currency--}} {{--delivery_amount--}} {{--total_discount--}} {{--grand_total--}} {{--payment_by_currency--}} @foreach($currencies as $index => $item) @endforeach {{--change_amount_by_currency--}} @foreach(json_decode($sale['change_amount_by_currency']) as $index => $item) @endforeach
កូដ បរិយាយ ចំនួន តំលៃ បញ្ចុះសរុប( {{ $item['code'] == 'THB' ? 'B' : $item['symbol'] }} )
{{ $row['code'] }} {{ $row['product_variation_name'] }} {{ intval($row['qty']) }} {{ $row['unit_type_name'] }} {{ $row['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($row['price']) }} @if($row['discount_type'] == App\Enums\DiscountTypeStatus::getFixId()) {{ $row['currency_symbol'] }} @endif {{ App\Helpers\StringHelper::currency($row['discount_value']) }} @if($row['discount_type'] == App\Enums\DiscountTypeStatus::getPercentageId()) % @endif {{ $row['currency_code'] == 'THB' ? 'B' : $row['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($row['total_price']) }}{{ $item['code'] == 'THB' ? 'B' : $item['symbol'] }} 0
ផ្សេងៗ៖ {{ $sale['remark'] }} សរុប: {{ $sale['currency_code'] == 'THB' ? 'B' : $sale['currency_symbol'] }} {{ App\Helpers\StringHelper::currency( $sale['total_payment'] + $sale['discount_amount'] ) }}
សេវ៉ាដឹក: {{ $sale['currency_code'] == 'THB' ? 'B' : $sale['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($sale['delivery_amount']) }}
បញ្ចុះតម្លៃ: @if($sale['discount_type'] == App\Enums\DiscountTypeStatus::getFixId()) {{ $sale['currency_code'] == 'THB' ? 'B' : $sale['currency_symbol'] }} @endif {{ $sale['discount_value'] == null ? 0 : $sale['discount_value'] }} @if($sale['discount_type'] == App\Enums\DiscountTypeStatus::getPercentageId()) % @endif
សរុបចុងក្រោយ: {{ $sale['currency_code'] == 'THB' ? 'B' : $sale['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($sale['total_payment']) }}
ប្រាក់កក់: {{ $item['code'] == 'THB' ? 'B' : $item['symbol'] }} {{-- {{ dd($payment_history[0]['payment_history_detail']) }}--}} @if($payment_history) @foreach($payment_history[0]['payment_history_detail'] as $index => $row) @if($item['code'] == $row['currency_code']) {{ App\Helpers\StringHelper::currency($row['total_amount']) }} @endif @endforeach @endif
នៅសល់: {{ $item->currency_code == 'THB' ? 'B' : $item->currency_symbol }} {{ App\Helpers\StringHelper::currency($item->change_amount) }}

*សូមផ្ទៀងផ្ទាត់ទំនិញក្នុងរយ:ពេល៣ថ្ងៃលើសពីនេះយើងខ្ញុំមិនទទួលខុសត្រូវទេ

Issued Delivery Revived