@php $transaction_date = App\Helpers\StringHelper::getMonthByDateFormat( App\Helpers\StringHelper::dateTimeFormatForFeonone($sale['transaction_date']), ); // dd($sale['repayment_date']); $repayment_date = App\Helpers\StringHelper::getMonthByDateFormat( App\Helpers\StringHelper::dateTimeFormatForFeonone($sale['repayment_date']), ); @endphp
@if ($sale['tax_amount'] > 0)
សហគ្រាស ហ្វីអនវ័ន ឯ.ក
FEONONE CO.,LTD
លេខអត្តសញ្ញាណកម្ម អតប (VAT TIN) K008-902394179
អាសយដ្ឋាន៖ #៣០៧ ផ្លូវ ៩៩ ភូមិបឹងសាឡាងសង្កាត់ ឫស្សីកែវ ខណ្ឌឫស្សីកែវ ភ្នំពេញ
លេខទូរសព្ទលេខ 076 789 9898/096 855 8168/097 333 8168
Address: #307, Street 99, Phum Beong Salang, Sangkat Russey keo, Khan Russey Keo, Phnom Penh
Tel: 076 789 9898/096 855 8168/097 333 8168
@else
វ៉ាយអិលភី
YLP
លក់ដំណាប់ផ្លែឈើនិងអាហារសម្ងួតគ្រប់ប្រភេទ
លេខទូរសព្ទលេខ 077 707 666
អាសយដ្ឋាន ផ្លូវបេតុង ភូមិបឹងសាឡាង សង្កាត់ឫស្សីកែវ ខណ្ឌឫស្សីកែវ ភ្នំពេញ
@endif
@if ($sale['tax_amount'] > 0)

@if ($invoice_type == 'a5')
វិក្ក័យបត្រអាករ
TAX INVOICE
@else
វិក្ក័យបត្រអាករ
TAX INVOICE
@endif
@else

@if ($invoice_type == 'a5')
វិក្ក័យបត្រ
INVOICE
@else
វិក្ក័យបត្រ
INVOICE
@endif
@endif
អតិថិជន / Customer:
ឈ្មោះក្រុមហ៊ុន ឬអតិថិជន: {{ $sale['customer_name'] }}
Company Name / Customer: {{ $sale['customer_latin_name'] }}
អាសយដ្ឋាន:

{{ $sale['customer_address'] }}
Address:

{{ $sale['customer_latin_address'] }}
លេខទូរសព្ទលេខ: {{ App\Helpers\StringHelper::convertToKhmerNumber($sale['customer_phone']) }}
Telephone No: {{ $sale['customer_phone'] }}
លេខអត្តសញ្ញាណកម្ម អតប: {{ $sale['customer_vat'] }}
{{-- @php dd($currencies); @endphp --}}
លេខរៀងវិក្កយបត្រ: {{ $sale['ref_no'] }}
Invoice No:
កាលបរិច្ឆេទ: {{ \Carbon\Carbon::parse($sale['transaction_date'])->format('d/M/Y') }} {{-- {{$sale['transaction_date']}} --}}
/Issue Date:
ថ្ងៃផុតកំណត់: {{-- {{ $sale['repayment_date'] }} --}} {{ \Carbon\Carbon::parse($sale['repayment_date'])->format('d/M/Y') }}
/Due Date:
លេខបញ្ជាទិញ:
/PO Number: {{ $sale['po_no'] }}
អត្រាប្តូរប្រាក់: {{ $currencies[1]['pdf_symbol'] }} {{ App\Helpers\StringHelper::currency($currencies[1]['sell_out_price'],0,true) }}
Exchange Rate:
@php $sortedSaleLists = collect($sale_lists)->sortBy('id')->values(); $totalRows = max(10, count($sale_lists)); @endphp
@for ($index = 0; $index < $totalRows; $index++) @if (isset($sortedSaleLists[$index])) @php $row = $sortedSaleLists[$index]; @endphp @else @endif @endfor @if ($sale['tax_amount'] > 0) @else @endif @foreach ($currencies as $index => $item) @foreach ($get_sub_total_sum_by_currency as $i => $obj) @if ($obj['currency_id'] == $item['id']) @if ($obj['total_price'] != 0) @endif @endif @endforeach @endforeach @if ($sale['tax_amount'] > 0) {{-- {{ App\Helpers\StringHelper::currency($sale['tax_amount']) . ' %' }} --}} @foreach ($currencies as $index => $item) @foreach ($get_sub_total_sum_by_currency as $i => $obj) @if ($obj['currency_id'] == $item['id']) @if ($obj['total_price'] != 0) @endif @endif @endforeach @endforeach @endif @if ($sale['tax_amount'] > 0) @endif
ល.រ SKU លេខបារកូត បរិយាយមុខទំនិញ ចំនួន ឯកតា តំលៃលក់ តំលៃ
N o SKU BARCODE DESCRIPTION QTY PACKING PRICE / UNIT AMOUNT
{{ $index + 1 }} {{ $row['sku'] }} {{ $row['code'] }} {{ $row['product_variation_name'] }} {{ $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']) }}
{{ $index + 1 }}              
@if ($invoice_type == 'a4') @else @endif