{{-- LEFT: Table (col-md-8) --}}
@json($this->payments)--}}
{{ $invoice->company->name ?? '—' }}
Invoice ID:
Claim Number:
{{ $invoice->getFormatedId() ?? '—' }}
{{ $invoice->claim_number ?? '—' }}
| ACTION | TOTAL VAT AMOUNT | TOTAL EXCLUDING VAT |
|---|---|---|
|
|
SAR
|
SAR
|
| DESCRIPTION | VAT AMOUNT | EXCLUDING VAT |
|---|---|---|
|
{{ $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 }} |
@php
$conversionRate = $item->conversion_rate ?: 1; // Use default value (1) if conversion_rate is null or zero
$pxvatAmount = ($item->pxvatAmount() / $conversionRate) + $item->this_excluding_vat_paid_amount;
$payableVatAmount = ($item->payableVatAmount() / $conversionRate) + $item->this_vat_paid_amount;
@endphp
{{ $invoice->currency }}
VAT Payable:
@cMoney($payableVatAmount, $invoice->currency, true)
|
{{ $invoice->currency }}
Ex. VAT Payable:
@cMoney($pxvatAmount, $invoice->currency, true)
|