Date: {{ $invoice->date->formatLocalized('%A %d %B %Y') }}
@if ($invoice->number) Invoice #: {{ $invoice->number }} @endif

{{ $invoice->name }} {{ $invoice->number ? '#' . $invoice->number : '' }}

Business Details:

{!! $invoice->business_details->count() == 0 ? 'No business details
' : '' !!} {{ $invoice->business_details->get('name') }}
ID: {{ $invoice->business_details->get('id') }}
{{ $invoice->business_details->get('phone') }}
{{ $invoice->business_details->get('location') }}
{{ $invoice->business_details->get('zip') }} {{ $invoice->business_details->get('city') }} {{ $invoice->business_details->get('country') }}

Customer Details:

{!! $invoice->customer_details->count() == 0 ? 'No customer details
' : '' !!} {{ $invoice->customer_details->get('name') }}
ID: {{ $invoice->customer_details->get('id') }}
{{ $invoice->customer_details->get('phone') }}
{{ $invoice->customer_details->get('location') }}
{{ $invoice->customer_details->get('zip') }} {{ $invoice->customer_details->get('city') }} {{ $invoice->customer_details->get('country') }}

Items:

@foreach ($invoice->items as $item) @endforeach
# ID Item Name Price Amount Total
{{ $loop->iteration }} {{ $item->get('id') }} {{ $item->get('name') }} {{ $item->get('price') }} {{ $invoice->formatCurrency()->symbol }} {{ $item->get('ammount') }} {{ $item->get('totalPrice') }} {{ $invoice->formatCurrency()->symbol }}
@if($invoice->notes)

Notes:

{{ $invoice->notes }}
@endif

Total:

Subtotal {{ $invoice->subTotalPriceFormatted() }} {{ $invoice->formatCurrency()->symbol }}
Taxes {{ $invoice->tax_type == 'percentage' ? '(' . $invoice->tax . '%)' : '' }} {{ $invoice->taxPriceFormatted() }} {{ $invoice->formatCurrency()->symbol }}
TOTAL {{ $invoice->totalPriceFormatted() }} {{ $invoice->formatCurrency()->symbol }}
@if ($invoice->footnote)

{{ $invoice->footnote }}
@endif