{{-- LEFT: Table (col-md-8) --}}
@php $invoicePayment = $invoicePayment ?? null; $invoiceRawCurrency = $invoice->getRawOriginal('currency'); $isForeignCurrencyInvoice = $invoice->isForeignCurrency(); @endphp
Image
Total Paying Amount

SAR3,102,387.45

WHT VAT AMOUNT: SAR0.00
RC VAT AMOUNT: SAR3,102,387.45
{{-- Total Amount Breakdown --}}
Total Paying Amount

{{ cMoney(($invoicePayment?->conversion_rate ?? 0) > 0 ? ($invoicePayment?->amount ?? 0) / $invoicePayment->conversion_rate : 0, $invoice->currency, true) }}

WHT VAT Amount: {{ cMoney($invoicePayment?->totalVatPaidAmount() ?? 0, $invoice->currency, true) }}
RC VAT Amount: {{ cMoney($invoicePayment?->totalExcludingVatPaidAmount() ?? 0, $invoice->currency, true) }}
{{-- Action Buttons --}}
ACTION TOTAL WHT VAT AMOUNT TOTAL RC VAT AMOUNT
SAR
SAR
@foreach ($invoice->items as $item) @endforeach
DESCRIPTION WHT VAT AMOUNT RC VAT AMOUNT
{{ $item->name ?: $item->invoiceable->name }} @if($item->invoiceable && !$item->invoiceable->is_allowable_cost)
{{ formatDateTime($item->invoiceable->start_date, false) }} - {{ formatDateTime($item->invoiceable->due_date, false) }} @endif
{{ $item->description }}
{{ $invoice->currency }}
WHT VAT Payable: {{-- @cMoney($payableVatAmount, $invoice->currency, true) --}}
{{ $invoice->currency }}
Ex. RC VAT Payable: {{-- @cMoney($pxvatAmount, $invoice->currency, true) --}}