@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))}} {{formatPrice($record->getTotal())}} {{$record->supplier}} @foreach($record->rows as $row) {{$row->causal->getTree()}}
@endforeach
{{$record->payment_method->name}}
@else @if (session()->has('error')) @endif

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

Data di Pagamento
Fornitore @error('supplier_id')
{{ $message }}
@enderror
Pagamento
@error('payment_method_id')
{{ $message }}
@enderror
@foreach($rows as $idx => $row)
Causale
@if(false) @error('causal_id')
{{ $message }}
@enderror @endif @error('rows.' . $idx . '.causal_id')
{{ $message }}
@enderror
Dettaglio causale
Tipologia
Importo
@if($add) @endif @if($update) @endif @error('rows.' . $idx . '.amount')
{{ $message }}
@enderror
Periodo
@if($multiP)
Dal mese
Anno
Dal mese
Anno
@else
@foreach($row["when"] as $xxx => $w)
Mese
Anno
Valore {{$this->currencyToDouble($rows[$idx]["amount"]) > 0 ? formatPrice($this->currencyToDouble($rows[$idx]["amount"]) / sizeof($rows[$idx]["when"])) : ""}}

@endforeach
@endif





@endforeach
@if($add) @endif @if($update) @endif
@if(false)
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)
  • Causale
  • {{$this->causal->getTree()}}
@endif
@endif
@endif
@push('scripts') @endpush @push('scripts') @endpush