@extends('layouts.app') @section('title', $invoice->number) @section('content') @php $hasBank = ! empty($bank['iban']); @endphp
| {{ __('Description') }} | {{ __('Unit') }} | {{ __('Amount') }} |
|---|---|---|
| {{ $line->description }} | {{ number_format((float)$line->unit_amount, 2) }} | {{ number_format((float)$line->amount, 2) }} |
| {{ __('Subtotal') }} | {{ number_format((float)$invoice->subtotal, 2) }} {{ $invoice->currency }} | |
| {{ __('VAT') }} ({{ rtrim(rtrim(number_format((float)$invoice->vat_rate,2),'0'),'.') }}%) | {{ number_format((float)$invoice->vat_amount, 2) }} | |
| {{ __('Total') }} | {{ number_format((float)$invoice->total, 2) }} {{ $invoice->currency }} | |
{{ $bank['notes'] }}
@endif