Fakturadatum
{{ $invoice->invoice_date->format('d.m.Y') }}
Förfallodatum
{{ $invoice->due_date->format('d.m.Y') }}
@if($invoice->ocr_number)
OCR-nummer
{{ $invoice->ocr_number }}
@endif
@if($invoice->your_reference)
Er referens
{{ $invoice->your_reference }}
@endif
Från
{{ $tenant->name }}
{{ $tenant->address }}
{{ $tenant->postal_code }} {{ $tenant->city }}
{{ $tenant->email }}@if($tenant->org_number)
Org: {{ $tenant->org_number }}@endif
Faktureras till
{{ $customer->name }}
{{ $customer->billing_address }}
{{ $customer->billing_postal_code }} {{ $customer->billing_city }}
{{ $customer->email }}@if($customer->org_number)
Org: {{ $customer->org_number }}@endif
| Beskrivning |
Antal |
Enhet |
À-pris |
Rabatt |
Moms |
Summa |
@foreach($invoice->rows as $row)
@if($row->type === 'heading')
| {{ $row->description }} |
@elseif($row->type === 'text')
| {{ $row->description }} |
@else
| {{ $row->description }} |
{{ rtrim(rtrim(number_format($row->quantity, 3), '0'), '.') }} |
{{ $row->unit }} |
{{ number_format($row->unit_price, 2, ',', ' ') }} {{ $invoice->currency }} |
{{ $row->discount > 0 ? $row->discount.'%' : '—' }} |
{{ intval($row->vat_rate) }}% |
{{ number_format($row->gross_amount, 2, ',', ' ') }} {{ $invoice->currency }} |
@endif
@endforeach
Summa exkl. moms{{ number_format($invoice->subtotal, 2, ',', ' ') }} {{ $invoice->currency }}
Moms{{ number_format($invoice->vat_amount, 2, ',', ' ') }} {{ $invoice->currency }}
@if($invoice->total_paid > 0)
Betalt-{{ number_format($invoice->total_paid, 2, ',', ' ') }} {{ $invoice->currency }}
@endif
{{ $invoice->total_paid > 0 ? 'Kvar att betala' : 'Att betala' }}{{ number_format(max($invoice->total_remaining, $invoice->total), 2, ',', ' ') }} {{ $invoice->currency }}
@if(!in_array($invoice->status, ['paid','cancelled','draft']))
Betalningsinformation
@if($invoice->bankgiro_number ?? $tenant->getSetting('bankgiro_number'))
Bankgiro
{{ $invoice->bankgiro_number ?? $tenant->getSetting('bankgiro_number') }}
@endif
@if($invoice->ocr_number)
OCR / Meddelande
{{ $invoice->ocr_number }}
@endif
Förfallodatum
{{ $invoice->due_date->format('d.m.Y') }}
@if(in_array($invoice->payment_method, ['card','both']))
Betala med kort — {{ number_format($invoice->total_remaining, 2, ',', ' ') }} {{ $invoice->currency }}
💳 Visa💳 Mastercard💳 Amex
|
Säkrad av Stripe
@endif
@endif
@if($invoice->notes)
Kommentar
{{ $invoice->notes }}
@endif