{{-- resources/views/pdf/invoice.blade.php --}}
| Description | Qty | Unit Price | @if($invoice->items->where('tax_rate', '>', 0)->count() > 0)Tax % | @endifAmount |
|---|---|---|---|---|
|
{{ $item->description }}
@if($item->notes)
{{ $item->notes }}
@endif
|
{{ number_format($item->quantity, 2) }} | {{ $invoice->currency }} {{ number_format($item->unit_price, 2) }} | @if($invoice->items->where('tax_rate', '>', 0)->count() > 0){{ $item->tax_rate > 0 ? $item->tax_rate . '%' : '—' }} | @endif{{ $invoice->currency }} {{ number_format($item->total_amount, 2) }} |