@if($invoice_template['is_display_logo'] == 1) @endif

{{ App\Helpers\StringHelper::getNameByLocal($sale['branch_name']) }}

លេខវិក័យប័ត្រ {{ $sale['ref_no'] }}
អតិថិជន {{ $sale['customer_name'] }}
ថ្ងៃ-ខែ-ឆ្នាំ {{ $sale['transaction_date'] }}
អ្នកគិតលុយ {{ $sale['seller'] }}
@foreach($sale_lists as $row) @endforeach {{--total_by_currency--}} {{--sub_total--}} {{--discount--}} {{--grand_total--}}
បរិយាយ ចំនួន តំលៃ សរុប
{{ $row['product_variation_name'] }} {{ App\Helpers\StringHelper::currency($row['qty']) }}{{ $row['unit_type_name'] }} {{ $row['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($row['price']) }} {{ $row['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($row['total_price']) }}
@foreach(json_decode($sale['total_payment_by_currency']) as $index => $item) @if ($index != count(json_decode($sale['total_payment_by_currency'])) - 1) {{ '|' }} @endif @endforeach
សរុប: {{ $sale['currency_code'] == 'THB' ? 'B' : $sale['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($sale['total_payment'] + $sale['discount_amount']) }}
បញ្ចុះតម្លៃ: @if($sale['discount_type'] == 1) {{ $sale['currency_symbol'] }} @endif {{ App\Helpers\StringHelper::currency($sale['discount_value']) }} @if($sale['discount_type'] == 0) % @endif
សរុបចុងក្រោយ: {{ $sale['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($sale['total_payment']) }}