@foreach($invoice->items() as $item)
{{ $item->description }}
@if($item->quantity > 1)
{{ $item->quantity }} x {{ Laravel\Cashier\Cashier::formatAmount($item->getUnitPrice()) }}
@endif
|
{{ Laravel\Cashier\Cashier::formatAmount($item->getSubtotal()) }}
|
{{ $item->getTaxPercentage() }}%
|
@endforeach
|
|
|
|
Subtotal
|
{{ $invoice->subtotal() }}
|
|
@foreach( $invoice->taxDetails() as $taxDetail )
@unless( $taxDetail['tax_percentage'] == 0 )
|
{{ $taxDetail['tax_percentage'] }}% VAT
|
{{ $taxDetail['total'] }}
|
|
@endunless
@endforeach
@if( $invoice->hasStartingBalance() )
|
Balance applied
|
{{ $invoice->usedBalance() }}
|
|
@endif
|
|
|
|
Total due
|
{{ $invoice->totalDue() }}
|
|
|
|
|