@extends('layouts.app') @section('title', __('My invoices')) @section('content')

{{ __('My invoices') }}

{{ __('Monthly invoices for the analyses your accountant delivered.') }}

@forelse($invoices as $inv) @empty @endforelse
{{ __('Number') }} {{ __('Period') }} {{ __('Total') }} {{ __('Status') }}
{{ $inv->number }} {{ $inv->period_start->translatedFormat('F Y') }} {{ number_format((float)$inv->total, 2) }} {{ $inv->currency }} $inv->status === 'paid', 'bg-amber-50 text-amber-700 dark:bg-amber-900/30 dark:text-amber-300' => $inv->status === 'issued', 'bg-rose-50 text-rose-700 dark:bg-rose-900/30 dark:text-rose-300' => $inv->status === 'void', ])>{{ ucfirst($inv->status) }} {{ __('View') }} →
{{ __('No invoices yet.') }}
{{ $invoices->links() }}
@endsection