@if($payments->where('type', 1)->count())
| Retention Payments | Date | Transaction ID | {{--Gross Amount | VAT Amount | --}}Paid Amount |
| {{ runtimePaymentIdFormat($payment->id) }} | {{ formatDateTime($payment->payment_date) }} | {{ $payment->transaction_id}} | {{--
@cMoney($payment->totalExcludingVatPaidAmount(true), null, true)
@if($is_foreign_currency_contract)
@cMoney($payment->totalExcludingVatPaidAmount(), $contract->currency, true)
@endif
| --}}
{{--
@cMoney($payment->totalVatPaidAmount(true), null, true)
@if($is_foreign_currency_contract)
@cMoney($payment->totalVatPaidAmount(), $contract->currency, true)
@endif
| --}}
@cMoney($payment->amount, null, true)
@if($is_foreign_currency_contract)
@cMoney($payment->amount / $payment->conversion_rate, $contract->currency, true)
@endif
@can('update payment')
@endcan
@can('delete payment')
@endcan
|
|
{{tafqeetMoney($total_withheld_amount = ($retention_foreign_paid_amount + ($current_withheld_amount = $contract->totalRetentionAmount())))}}
{{spellNumber($total_withheld_amount, 'en', $contract->currency)}} |
Total Withheld Amount: | @cMoney($total_withheld_amount, $contract->currency, true) |
|
{{tafqeetMoney($retention_base_paid_amount)}}
{{spellNumber($retention_base_paid_amount, 'en', 'SAR', 'halala')}} |
Total Paid Amount: |
@cMoney($retention_base_paid_amount, null, true)
@if($is_foreign_currency_contract)
@cMoney($retention_foreign_paid_amount, $contract->currency, true)
@endif
|
|
{{tafqeetMoney($current_withheld_amount)}}
{{spellNumber($current_withheld_amount, 'en', $contract->currency)}} |
Current Withheld Amount: | @cMoney($current_withheld_amount, $contract->currency, true) |
| Remaining Payable Amount: | {{ cMoney($invoice_payable_amount ?? 0, $contract->currency, true) }} |