@if( !empty($user_branch['letter_head'])) @endif

របាយការណ៍លក់

Sell Report

{{ App\Helpers\StringHelper::dateTimeFormat($start_date) }} ~ {{ App\Helpers\StringHelper::dateTimeFormat($end_date) }}

Invoice Number / លេខវិក័យប័ត្រ: {{ $invoice_number }}
@if ( $number_of_customer == null && $warehouse_name == null) Customer / អតិថិជន: ទាំងអស់
Warehouse / ឃ្លាំង: ទាំងអស់
@elseif( $number_of_customer != null && $warehouse_name == null ) Customer / អតិថិជន: {{ $customer_name }}

Warehouse / ឃ្លាំង: ទាំងអស់
@elseif( $number_of_customer == null && $warehouse_name != null ) Customer / អតិថិជន: ទាំងអស់
Warehouse / ឃ្លាំង: {{ $warehouse_name }}
@else Customer / អតិថិជន: {{ $customer_name }}
Warehouse / ឃ្លាំង: {{ $warehouse_name }}
@endif {{-- Branch / សាខា: {{ $getBranch_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
{{-- --}} {{-- Payment By Currency--}} {{--
--}} {{-- @foreach($total_by_currency as $row)--}} {{-- --}} {{-- {{ $row['pdf_symbol'] }} {{App\Helpers\StringHelper::currency($row['total']) }}
--}} {{--
--}} {{-- @endforeach--}}
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']) }}