{{-- --}} {{-- --}} {{-- --}} {{-- --}} {{--
--}} {{-- @if ($user_branch['status'] == 1) --}} {{-- --}} {{-- @endif --}} {{--
--}}

របាយការណ៍លក់តាមវិក័យប័ត្រ

Sale Report By Invoice

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

Supplier / អ្នកផ្គត់ផ្គង់: {{ $warehouse_name }}
Warehouse / ឃ្លាំង: {{ $supplier_name }}
Product / ផលិតផល: {{ $product_name }}
Created By / អ្នកបង្កើត: {{ $created_by }}
Sale Agent / អ្នកទីផ្សារ: {{ $sale_agent }}

@if (env('CLIENT_ID') == 'yongtex') @endif @foreach ($data as $index => $item) @if (env('CLIENT_ID') == 'yongtex') @endif @endforeach
លេខរៀង
No
កាលបរិច្ឆេទ
Transaction Date
លេខយោង
Ref No
តុ
Table
អតិថិជន
Customer Name
អ្នកបង្កើត
Created By
អ្នកទីផ្សារ
Sale Agent
បរិមាណសរុប
Total Quantity
សរុបមុនបញ្ចុះតម្លៃ
Total Before Discount
បញ្ចុះតម្លៃ
Discount
សរុបក្រាយបញ្ចុះតម្លៃ
Total After Discount
ទូទាត់សរុប
Total Paid
ជំពាក់សរុប
Total Dept
{{ $index + 1}} {{ App\Helpers\StringHelper::dateTimeFormat($item->transaction_date) }} {{ $item->ref_no }} {{ $item->table_name }} {{ $item->customer_name == '' ? 'អតិថិជនទូទៅ' : $item->customer_name }} {{ $item->created_by }} {{ $item->sale_agency }} @foreach ($item['saleLists'] as $row) {{ floatval($row->total_qty)}} {{$row->unit_type_name}} @endforeach {{ $item->currency_symbol }} {{ App\Helpers\StringHelper::currency($item->total_payment + $item->discount_amount) }} @if ($item->discount_value > 0) {{ $item->currency_symbol }} {{ App\Helpers\StringHelper::currency($item->discount_amount) }} @if ($item->discount_type == 0 && $item->discount_value > 0) (-{{ App\Helpers\StringHelper::currency($item->discount_value) }}%) @endif @endif {{ $item->currency_symbol }} {{ App\Helpers\StringHelper::currency($item->total_payment) }} {{ $item->currency_symbol }} {{ App\Helpers\StringHelper::currency($item->total_paid) }} @if ($item->total_payment - $item->total_paid != 0) {{ $item->currency_symbol }} {{ App\Helpers\StringHelper::currency($item->total_payment - $item->total_paid) }} @endif
{{-- Total Amount quantity --}} @if (env('CLIENT_ID') == 'yongtex')
បរិមាណសរុប / Total Quantity :  {{ floatval($total_qty[0]['total_qty']) }} {{ $total_qty[0]['unit_type_name'] }}
@endif
Total Before Discount / សរុបមុនបញ្ចុះតម្លៃ : {{ $default }} {{ App\Helpers\StringHelper::currency( $total_sale['total_price_default'] + $total_sale['total_discount_amount_default'], ) }}
Total Discount / បញ្ចុះតម្លៃសរុប : {{ $default }} {{ App\Helpers\StringHelper::currency($total_sale['total_discount_amount_default']) }}
Total After Discount / សរុបក្រាយបញ្ចុះតម្លៃ : {{ $default }} {{ App\Helpers\StringHelper::currency($total_sale['total_price_default']) }}
ទូទាត់សរុប / Total Paid :   {{ $default }} {{ $total_paid }}
ជំពាក់ / Total Dept :   {{ $default }} {{ $total_dept }}