@if(count($invoices_using_deduction) > 0)
| Invoice | Deducted Amount | Invoice Total | Due Date | Status |
| {{ $invoiceUD->invoice_number }} | {{-- deducted amount --}}@cMoney($invoiceUD->totalDeductedAmount($invoice->id), $invoiceUD->currency, true) | {{-- invoice total --}}@cMoney($invoiceUD->total, $invoiceUD->currency, true) | {{-- due date --}}{{ formatDateTime($invoiceUD->due_date) }} | {{-- status --}}{{ $invoiceUD->status }} |
|
{{tafqeetMoney($invoice->total)}}
{{spellNumber($invoice->total, 'en', $invoice->currency, 'halala')}} |
Total Deductable Amount: | @cMoney($invoice->total, $invoice->currency, true) |
|
{{tafqeetMoney($total_deducted = $invoice->total - $deductable_remaining_amount)}}
{{spellNumber($total_deducted, 'en', $invoice->currency, 'halala')}} |
Total Deducted Amount: | @cMoney($total_deducted, $invoice->currency, true) |
|
{{tafqeetMoney($deductable_remaining_amount)}}
{{spellNumber($deductable_remaining_amount, 'en', $invoice->currency, 'halala')}} |
Deductable Remaining Amount: | @cMoney($deductable_remaining_amount, $invoice->currency, true) |