@if($invoice->payments->where('type', 1)->count())
| Retention Payments | Date | Transaction ID | Paid Amount |
| {{ runtimePaymentIdFormat($payment->id) }} | {{ formatDateTime($payment->payment_date) }} | {{ $payment->transaction_id}} |
@cMoney($payment->amount, null, true)
@if($is_foreign_currency_invoice)
@cMoney($payment->amount / $payment->conversion_rate, $invoice->currency, true)
@endif
@can('update payment')
@endcan
@can('delete payment')
@endcan
|
|
{{tafqeetMoney($total_withheld_amount = intToMoney($invoice->getRawOriginal('retention_manual_amount') ? : $invoice->getRawOriginal('retention_amount')))}}
{{spellNumber($total_withheld_amount, 'en', $invoice->currency)}} |
Total Withheld Amount: | @cMoney($total_withheld_amount, $invoice->currency, true) |
|
{{tafqeetMoney($invoice_base_total_paid_amount)}}
{{spellNumber($invoice_base_total_paid_amount, 'en', 'SAR', 'halala')}} |
Total Paid Amount: |
@cMoney($invoice_base_total_paid_amount, null, true)
@if($is_foreign_currency_invoice)
@cMoney($invoice->totalPaidAmount('foreign', 'retention-release'), $invoice->currency, true)
@endif
|
|
{{tafqeetMoney($current_withheld_amount = $invoice->getRetentionAmount())}}
{{spellNumber($current_withheld_amount, 'en', $invoice->currency)}} |
Current Withheld Amount: | @cMoney($current_withheld_amount, $invoice->currency, true) |