|
{{ $companyName }}
@if($companyAddress !== '')
{!! nl2br(e($companyAddress)) !!}
@endif
@if($companyPhone !== '')
Tel : {{ $companyPhone }}
@endif
@if($companyWebsite !== '')
{{ $companyWebsite }}
@endif
@if($companyEmail !== '')
{{ $companyEmail }}
@endif
@if($companyTin !== '')
TIN {{ $companyTin }}
@endif
BILL TO
{{ $billToPrimary !== '' ? $billToPrimary : $customerName }}
@if($billToSecondary !== '')
{{ $billToSecondary }}
@endif
@if($billToAddress !== '')
{!! nl2br(e($billToAddress)) !!}
@endif
@if($billToEmail !== '')
{{ $billToEmail }}
@endif
|
@if($logoDataUri !== null)
|
| Description | Qty | Rate | Amount |
|---|---|---|---|
| {{ $itemTitle }} {{ $itemDescription }} | {{ number_format($itemQty, 0) }} | {{ $formatMoney($itemNetUnitMinor, $symbol) }} | {{ $formatMoney($itemNetTotalMinor, $symbol) }} |
Payments:
@foreach($paymentEntries as $paymentEntry)
@php
$paymentAmountMinor = is_int($paymentEntry['amount_minor'] ?? null)
? $paymentEntry['amount_minor']
: null;
$paymentSymbol = $symbolByCurrency((string) ($paymentEntry['currency'] ?? $currency));
@endphp
{{ $paymentEntry['type'] !== '' ? $paymentEntry['type'] : 'UNKNOWN' }}
@if($paymentEntry['date'] !== '')
· {{ $paymentEntry['date'] }}
@endif
@if(is_int($paymentAmountMinor))
· {{ $formatMoney($paymentAmountMinor, $paymentSymbol) }}
@endif
@endforeach
|