@if( !empty($user_branch['letter_head'])) @endif
របាយការណ៏លក់
Sell Report
{{ App\Helpers\StringHelper::dateTimeFormat($filter['date_range']['startDate']) }} ~ {{ App\Helpers\StringHelper::dateTimeFormat($filter['date_range']['endDate']) }}
@if ($number_of_customer == null && $warehouse_name == null) @endif @if ($number_of_customer != null && $warehouse_name == null) @endif @if ($number_of_customer == null && $warehouse_name != null) @endif @if ($number_of_customer != null && $warehouse_name != null) @endif
Invoice Number / លេខវិក័យប័ត្រ: {{$invoice_number}}
Customer / អតិថិជន: ទាំងអស់
Warehouse / ឃ្លាំង: ទាំងអស់
Customer / អតិថិជន: {{ $customer_name }}
Warehouse / ឃ្លាំង: ទាំងអស់
Customer / អតិថិជន: ទាំងអស់
Warehouse / ឃ្លាំង: {{ $warehouse_name }}
Customer / អតិថិជន: {{ $customer_name }}
Warehouse / ឃ្លាំង: {{ $warehouse_name }}
@foreach ($data as $item) @endforeach
លរ.
No.
កាលបរិច្ឆេទលក់
Date
វិក័យប័ត្រ
Invoice no.
សាខា
Branch
តុ
Table
អតិថិជន
Customer
សរុបមុនបញ្ចុះតម្លៃ
Total Before Discount
បញ្ចុះតម្លៃ
Discount
សរុបក្រាយបញ្ចុះតម្លៃ
Total After Discount
ទូទាត់សរុប
Total Paid
ប្រាក់ជំពាក់
Total Dept
ការលក់
Status Sale
ស្ថានភាព
Status
{{ $loop->iteration }} {{ App\Helpers\StringHelper::dateTimeFormat($item->transaction_date ) }} {{ $item->ref_no }} {{ $item->branch_name }} {{ $item->table_name }} {{ $item->customer_name }} {{ $item->currency_symbol }} {{App\Helpers\StringHelper::currency($item->discount_amount + $item->total_payment) }} @if($item->discount_amount > 0) {{ $item->currency_symbol }} {{ App\Helpers\StringHelper::currency($item->discount_amount) }} {{ $item->discount_type == 0 ? '(-'.App\Helpers\StringHelper::currency($item->discount_value).'%)' : '' }} @else 0 @endif {{ $item->currency_symbol }} {{App\Helpers\StringHelper::currency($item->total_payment) }} {{ $item->currency_symbol }} {{App\Helpers\StringHelper::currency($item->total_paid)}} {{ $item->currency_symbol }} {{App\Helpers\StringHelper::currency($item->total_payment - $item->total_paid)}} {{ App\Helpers\StringHelper::getSaleStatus($item->status)['name_kh'] }} @if (floatval($item->total_paid) >= floatval($item->total_payment)) បានបង់រួច @else មិនទាន់បង់ @endif
@for($i=1;$i<=5;$i++) @endfor @for($i=1;$i<=5;$i++) @endfor @for($i=1;$i<=5;$i++) @endfor
Grand Total / សរុបមុនបញ្ចុះតម្លៃ:   {{ $default }} {{ App\Helpers\StringHelper::currency( $total_by_transaction['total_price_default'] + $total_by_transaction['total_discount_amount_default'] ) }}
Total Discount / សរុបបញ្ចុះតម្លៃ:   {{ $default }} {{App\Helpers\StringHelper::currency($total_by_transaction['total_discount_amount_default']) }}
Grand Total After Discount / សរុបក្រោយបញ្ចុះតម្លៃ:   {{ $default }} {{App\Helpers\StringHelper::currency($total_by_transaction['total_price_default']) }}