{{ $purchase_order[0]->supplier_name }}

វិក្ក័យបត្រ

@php $supplier_image = $purchase_order[0]->supplier_image ?? ''; @endphp @if ($supplier_image != '') @endif
{{-- branch --}}
អ្នកទិញ: {{ App\Helpers\StringHelper::getNameByLocal($purchase_order[0]->branch_name) }}
លេខទូរស័ព្ទ: {{ $purchase_order[0]->branch_phone }}
អាសយដ្ឋាន: {{ $purchase_order[0]->branch_address }}
{{-- supplier --}}
លេខវិក្ក័យបត្រ: {{ $purchase_order[0]->code }}
លេខទូរស័ព្ទ: {{ $purchase_order[0]->supplier_phone }}
អាសយដ្ឋាន: {{ $purchase_order[0]->supplier_address }}
@foreach ($purchase_order_list as $item) @endforeach {{-- --}} {{-- --}}
ល.រ ឈ្មោះ បរិមាណ តម្លៃទិញ បញ្ចុះតម្លៃ ថ្លៃដើមសរុប
{{ $loop->iteration }} {{ $item->product_variation_name }} {{ $item->quantity }} {{ $item->unit_type_name }} {{ $item->currency_code }} {{ App\Helpers\StringHelper::currency($item->cost) }} @if ($item->discount_type != 0) {{ $item->currency_code }} @endif {{ $item->discount_value }} @if ($item->discount_type == 0) {{ '%' }} @endif {{ $item->currency_code }} {{ App\Helpers\StringHelper::currency($item->total) }}
@foreach ($total_cost_by_currency as $index => $item) @if ($index != count($total_cost_by_currency) - 1) {{ '|' }} @endif @endforeach
សរុប: {{ $purchase_order[0]->currency_code }} @php $total = 0; foreach ($purchase_order_list as $item) { $total += $item->total; } @endphp {{ App\Helpers\StringHelper::currency($total) }}
បញ្ចុះតម្លៃរុប: {{ $purchase_order[0]->currency_code }} {{ App\Helpers\StringHelper::currency($purchase_order[0]->discount_value) }}
@php $transaction_date = \Carbon\Carbon::parse($purchase_order[0]->transaction_date); @endphp ថ្ងៃទី {{ $transaction_date->day }} ខែ {{ App\Helpers\StringHelper::convertToKhmerMonthFromDigit($transaction_date->month) }} ឆ្នាំ {{ $transaction_date->year }}
អ្នកទិញ/BUYER អ្នកលក់/SELLER