| {{ $r->numeroFormattato() ?? '—' }} |
{{ $r->data_documento?->format('d/m/Y') ?? '—' }} |
{{ $r->cliente?->Nome }} |
@if ($r->stato === 'bozza')
Bozza
@elseif ($r->stato === 'emesso')
Emesso
@else
Annullato
@endif
|
@if ($r->stato === 'bozza')
—
@elseif ($r->stato_ts === 'inviato' || $r->stato_ts === 'accettato_con_warning')
{{ $r->etichettaStatoTs() }}
@elseif ($r->stato_ts === 'rifiutato' || $r->stato_ts === 'errore')
{{ $r->etichettaStatoTs() }}
@else
{{ $r->etichettaStatoTs() }}
@endif
|
{{ number_format((float) $r->totale, 2, ',', '.') }} € |
@if ($r->stato !== 'bozza')
@endif
@if ($r->stato === 'bozza')
@endif
|
@empty