@if(false) @endif
{{ App\Helpers\StringHelper::getNameByLocal($data['branch']->branch_name) }}
ទូរស័ព្ទ: {{ $data['branch']->phone }}
{{ $data['branch']->address }}
វិក្កយបត្រ
Invoice
លេខវិក័យប័ត្រ/Invoice: {{ $data['transaction'][0]->ref_no }}
លេខតុ/Table : {{ $data['transaction'][0]->table_name }}
អតិថិជន/Customer: {{ $data['transaction'][0]->customer }}
ថ្ងៃ-ខែ-ឆ្នាំ/Date: {{ date('d/m/Y',strtotime($data['transaction'][0]->transaction_date)) }}
ចូល/In: {{ $data['transaction'][0]->clock_in }} ចេញ/Out: {{ $data['transaction'][0]->clock_out }}
បេឡាករ/Admin: {{ $data['transaction'][0]->username }}
{{-- Start List Product --}} @foreach($data['transaction'][0]->saleListsForMiniPos as $item) @endforeach {{-- End List Product --}} {{-- Start Deleted_sale_list --}} @if(\App\Models\Permission::checkModuleAuthorize('pos_cafe','can_view_deleted_item')) @foreach($data['transaction'][0]->deletedSaleLists as $deleted_item) {{--product_name--}} {{--qty--}} {{--price--}} {{--sub_total--}} {{--deleted_at, deleted_reason--}} @endforeach @endif {{-- End Deleted_sale_list --}} {{-- Start discount --}} {{-- End discount --}} {{-- Start payment_by_currency --}} @foreach($data['payment_by_currency'] as $by_currency) @endforeach {{-- End payment_by_currency --}} @if($data['transaction'][0]->status == \App\Enums\SaleStatus::COMPLETED['id']) @endif {{-- Start Note --}} {{-- End Note --}} {{-- Start Footer --}} @if($data['wifi']->value != null) @endif {{-- End Footer --}}
បរិយាយ
Description
បរិមាណ
Quantity
តម្លៃ
Price
សរុប
Total
{{ $item->name }} @if($item->alt_name != null)
{{ $item->alt_name }} @endif @if($item->remark != null)
{{ $item->remark }} @endif @if($item->concat_modifier != null)
{{ $item->concat_modifier }} @endif
{{ $item->quantity }} {{ $item->currency_symbol }} {{ App\Helpers\StringHelper::currency( floatval($item->price) + floatval($item->total_additional_price) + floatval($item->total_modifier_price) ) }} @if($item->discount_value > 0)
-{{ App\Helpers\StringHelper::currency($item->discount_value).'%' }} @endif
{{ $item->currency_symbol }} {{ App\Helpers\StringHelper::currency($item->total_price) }}
 
បញ្ជីមុខទំនិញដែលបានលុប
{{ $deleted_item->name }} @if($deleted_item->deleted_sale_list_concat_modifier != null)
{{ $deleted_item->deleted_sale_list_concat_modifier }} @endif @if($deleted_item->remark != null)
{{ $deleted_item->remark }} @endif
{{ App\Helpers\StringHelper::currency($deleted_item->qty) }} {{ $deleted_item->currency_symbol }} {{ App\Helpers\StringHelper::currency($deleted_item->price) }} {{ $deleted_item->currency_symbol }} {{ App\Helpers\StringHelper::currency( floatval($deleted_item->price) * floatval($deleted_item->qty) ) }}
{{ $deleted_item->created_at }} @if($deleted_item->event == 'after_paid') ({{ 'ក្រោយបង់ប្រាក់' }}) @elseif($deleted_item->event == 'before_print_pay') ({{ 'មុនPrintទាលុយ' }}) @elseif($deleted_item->event == 'after_print_pay') ({{ 'ក្រោយPrintទាលុយ' }}) @endif
{{ $deleted_item->reason }}
សរុប/Sub Total: {{ $data['transaction'][0]->currency_symbol }} {{ App\Helpers\StringHelper::currency( floatval($data['transaction'][0]->total_payment) + floatval($data['transaction'][0]->discount_amount) ) }}
បញ្ចុះតម្លៃ/Discount: @if($data['transaction'][0]->discount_type == 0 && $data['transaction'][0]->discount_value > 0) ({{ App\Helpers\StringHelper::currency($data['transaction'][0]->discount_value).'%' }}) @endif {{ $data['transaction'][0]->currency_symbol }} {{ App\Helpers\StringHelper::currency($data['transaction'][0]->discount_amount) }}
គិតជា({{ $by_currency['currency_symbol'] }}): {{ $by_currency['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($by_currency['total_payment']) }}
ប្រាក់ទទួល/Receive ({{ $data['transaction'][0]->currency_symbol }}): {{ $data['transaction'][0]->currency_symbol }} {{ App\Helpers\StringHelper::currency($data['transaction'][0]->total_paid) }}
ប្រាក់អាប់/Change ({{ $data['transaction'][0]->currency_symbol }}): {{ $data['transaction'][0]->currency_symbol }} {{ App\Helpers\StringHelper::currency($data['transaction'][0]->total_paid - $data['transaction'][0]->total_payment) }}
ទូទាត់តាម/Method: @if($data['transaction'][0]->payment_method_id == 0) សាច់ប្រាក់ @endif @if($data['transaction'][0]->payment_method_id != 0) {{ $data['transaction'][0]->bank_name }} @endif
** ចំណាំ: {{ $data['transaction'][0]->remark }}
Wifi: {{ $data['wifi']->value }}
សូមអគុណ! សូមអញ្ជើញមកម្ដងទៀត
Thank You, Please come again
{{ $data['transaction'][0]->waiting_number }}
{{----}}