លេខវិក័យប័ត្រ | {{ $sale['ref_no'] }} |
អតិថិជន | {{ $sale['customer_name'] }} |
ថ្ងៃ-ខែ-ឆ្នាំ | {{ $sale['transaction_date'] }} |
អ្នកគិតលុយ | {{ $sale['seller'] }} |
បរិយាយ | ចំនួន | តំលៃ | សរុប |
---|---|---|---|
{{ $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['outstanding_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_code'] == 'THB' ? 'B' : $sale['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($sale['outstanding_amount']) }} | ||
ទូទាត់: | {{ $sale['currency_code'] == 'THB' ? 'B' : $sale['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($sale['total_paid']) }} | ||
សរុបនៅខ្វះចុងក្រោយ: | {{ $sale['currency_symbol'] }} {{ App\Helpers\StringHelper::currency($sale['total_payment'] - $sale['total_paid']) }} |
@php
$barcode = new \Milon\Barcode\DNS1D();
@endphp
ទិញហើយមិនអាចដូរលុយវិញបានទេ !