@extends('layouts.app') @section('title', 'Fakturor') @section('content')
Hantera och spåra alla dina fakturor
| Faktura | Kund | Fakturadatum | Förfallodatum | Belopp | Utestående | Status | Åtgärder |
|---|---|---|---|---|---|---|---|
|
{{ $invoice->invoice_number }}
@if($invoice->type==='credit')Kreditnota @endif
|
{{ $invoice->customer->name }}
@if($invoice->your_reference)Ref: {{ $invoice->your_reference }} @endif
|
{{ $invoice->invoice_date->format('d.m.Y') }} |
{{ $invoice->due_date->format('d.m.Y') }}
@if($invoice->due_date->isPast() && !in_array($invoice->status,['paid','cancelled'])) {{ $invoice->due_date->diffForHumans() }} @endif
|
{{ number_format($invoice->total, 0, ',', ' ') }} {{ $invoice->currency }} | @if($invoice->total_remaining > 0 && !in_array($invoice->status,['draft','cancelled'])) {{ number_format($invoice->total_remaining, 0, ',', ' ') }} kr @elseif($invoice->status==='paid') — @else — @endif | {{ $invoice->status_label }} | |
|
@if(request()->hasAny(['search','status','from','to']))
Inga fakturor matchar din sökning.
Rensa filter
@else
Inga fakturor ännu. Skapa din första faktura → @endif |
|||||||