សាខា / Branch: {{ $branch_name == null ? 'ទាំងអស់' : App\Helpers\StringHelper::getNameByLocal($branch_name); }}
អតិថិជន / Customer: {{ $customer_name == null ? 'ទាំងអស់' : $customer_name }}
បុគ្គលិក / Admin: {{ $user == null ? 'ទាំងអស់' : $user }}
{{ $date['startDate'] }} - {{ $date['endDate'] }}
@foreach ($transaction as $row) @foreach ($row['transaction'] as $item) {{--Date--}} {{--Invoice No--}} {{--Total Before Discount--}} {{--Discount--}} {{--Total--}} {{--Paid--}} @endforeach @endforeach {{--សរុបមុនបញ្ចុះតម្លៃ:--}} {{--សរុបបញ្ចុះតម្លៃ: and Rate--}} {{--សរុបក្រាយបញ្ចុះតម្លៃ:--}} {{--Exchange Rate--}}
Date
កាលបរិច្ឆេទ
Invoice
No.
លេខវិក័យប័ត្រ
Sale
លក់
Discount
បញ្ចុះតម្លៃ
Total
សរុប
Paid
បង់
{{ $item['transaction_date'] }} {{ $item['ref_no'] }}
{{ $item['table_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']) }} @else {{ '-' }} @endif {{ $item['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($item['total_payment']) }} {{ $item['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($item['total_paid']) }}
{{ App\Helpers\StringHelper::getPaymentMethodName($item['payment_method_id']) }}
សរុបមុនបញ្ចុះតម្លៃ / Total Before Discount: {{ $item['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($total_transaction['grand_total']) }}
@foreach($currency_list as $currency) {{ $currency['symbol'] }} {{ App\Helpers\StringHelper::currency($total_transaction['grand_total'] / $default_sell_out_price * $currency['sell_out_price']) }} @endforeach
សរុបបញ្ចុះតម្លៃ / Total Discount: {{ $item['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($total_transaction['total_discount_amount']) }}
@foreach($currency_list as $currency) {{ $currency['symbol'] }} {{ App\Helpers\StringHelper::currency($total_transaction['total_discount_amount'] / $default_sell_out_price * $currency['sell_out_price']) }} @endforeach
សរុបក្រាយបញ្ចុះតម្លៃ / Total After Discount: {{ $item['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($total_transaction['total_payment']) }}
@foreach($currency_list as $currency) {{ $currency['symbol'] }} {{ App\Helpers\StringHelper::currency($total_transaction['total_payment'] / $default_sell_out_price * $currency['sell_out_price']) }} @endforeach
អត្រាប្តូរប្រាក់ / Exchange Rate: @foreach($all_currency as $currency) {{ $currency['code'] }} = {{ App\Helpers\StringHelper::currency($currency['sell_out_price']) }}
{{-- {{ $loop->iteration < count($all_currency) ? ', ' : '' }}--}} @endforeach