@if(!$add && !$update)

@if(!$add && !$update)Elenco Uscite @else Inserimento/modifica uscita @endif

@if(!$add && !$update)

Registra
Nuova Uscita

@endif
@foreach($records as $record) @endforeach
Data Importo Fornitore Causale Pagamento ...
{{date("d/m/Y", strtotime($record->date))}} € {{$record->amount}} {{$record->supplier->name}} {{$record->causal->getTree()}} {{$record->payment_method->name}}
@else

{{$add ? 'Nuova' : 'Modifica'}} Uscita

Tipologia:
Data di Pagamento
Mese di Compentenza
Anno di Compentenza
Casuale
Importo
@if($add) @endif @if($update) @endif @error('amount')
{{ $message }}
@enderror
Pagamento
@if($add) @endif @if($update) @endif
Ricevuta
@if($this->supplier)
  • {{$this->supplier->name}}
  • P.IVA: {{$this->supplier->vat}}
@endif
  • Data di Pagamento
  • {{ date("d/m/Y", strtotime($date)) }}
@if($this->causal)
  • Casuale
  • {{$this->causal->getTree()}}
@endif
@endif