| {{ number_format($qt['sub_total'], 2, '.', '') }} |
الاجماليSUB TOTAL |
| {{ number_format($qt['discount'], 2, '.', '') }} |
الخصمDISCOUNT |
| {{ number_format($qt['taxable'], 2, '.', '') }} |
الاجمالي بعد الخصمSUB TOTAL AFTER DISCOUNT |
| {{ number_format($qt['vat'], 2, '.', '') }} |
ضريبة القيمة المضافة ({{ $avt->AVT * 100 }}%)VALUE ADDED TAX |
@php
$total = $qt['grand_total'];
[$whole, $decimal] = explode('.', number_format((float) $total, 2, '.', ''));
$decimalDigits = str_split($decimal);
$decimalValue = $decimalDigits[0] === '0' ? (int) $decimalDigits[1] : (int) $decimal;
$decimalWords = $decimalValue !== 0 ? numberToWords($decimalValue) : 'Zero';
$wholeWords = numberToWords((int) $whole);
@endphp
|
{{ number_format(round($total, 2), 2, '.', '') }}
|
الاجمالي الكليNET TOTAL |