@if( !empty($user_branch['letter_head'])) @endif
របាយការណ៍លក់តាមអតិថិជន
Sale Report By Customer
{{ App\Helpers\StringHelper::dateTimeFormat($start_date) }}​ ~ {{ App\Helpers\StringHelper::dateTimeFormat($end_date) }}​
Supplier Name / អ្នកផ្គត់ផ្គង់: {{$supplier_name}}
Warehouse / ឃ្លាំង: {{ $warehouse_name }}
Product / ផលិតផល: {{ $product_name }}
@foreach($data as $item) @endforeach
អតិថិជន
Customer Name
សរុបមុនបញ្ចុះតម្លៃ
Total Before Discount
បញ្ចុះតម្លៃសរុប
Total Discount
សរុបក្រាយបញ្ចុះតម្លៃ
Total After Discount
{{ $item->customer_name }} {{ $item->currency_symbol }} {{App\Helpers\StringHelper::currency($item->total_payment + $item->discount_amount)}} {{ $item->currency_symbol }} {{App\Helpers\StringHelper::currency($item->discount_amount)}} {{ $item->currency_symbol }} {{App\Helpers\StringHelper::currency($item->total_payment)}}
@php $footer_colspan = 4; $footer_loop = 0; @endphp {{--Total Before Discount--}} @for($i=1; $i<=$footer_loop; $i++) @endfor {{--Total Discount--}} @for($i=1; $i<=$footer_loop; $i++) @endfor {{--Total After Discount--}} @for($i=1; $i<=$footer_loop; $i++) @endfor
សរុបមុនបញ្ចុះតម្លៃ / 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']) }}