@if (session()->has('listino_ok'))
{{ session('listino_ok') }}
@endif @if (session()->has('listino_err'))
{{ session('listino_err') }}
@endif
@if ($mostraForm)

{{ $editingId ? 'Modifica voce' : 'Nuova voce' }}

@error('nome')
{{ $message }}
@enderror
@error('prezzo_default')
{{ $message }}
@enderror
@endif
@forelse ($voci as $voce) @empty @endforelse
Nome Descrizione Prezzo TS Stato
{{ $voce->nome }} {{ $voce->descrizione }} {{ number_format((float) $voce->prezzo_default, 2, ',', '.') }} € {{ $voce->tipo_spesa_ts ?? '—' }} @if ($voce->attivo) Attiva @else Disattiva @endif @if ($voce->attivo) @else @endif
Nessuna voce di listino. Creane una per velocizzare le ricevute.
{{ $voci->links() }}