Prima nota

Utente
Causale
Periodo
@if($isFiltering)

Caricamento dati in corso...

@endif @foreach($payments as $p) @endforeach @foreach($payments as $p) @if($p->type == 'ALL') @elseif($p->type == 'IN') @elseif($p->type == 'OUT') @endif @endforeach @php $count = 0; @endphp @foreach($records as $causal => $record) @php $parts = explode("ยง", $causal); $d = $parts[0] ?? ''; $c = $parts[1] ?? ''; $n = $parts[2] ?? ''; $det = $parts[3] ?? ''; $del = $parts[4] ?? ''; $detailParts = explode('|', $det); $isMultiple = count($detailParts) > 1; $displayDetail = $isMultiple ? 'Varie' : $det; @endphp @foreach($payments as $p) @if(isset($record[$p->name])) @else @endif @endforeach @php $count++; @endphp @endforeach @foreach($payments as $p) @if(isset($totals[$p->name])) @if($p->type == 'ALL') @elseif($p->type == 'IN') @elseif($p->type == 'OUT') @endif @else @if($p->type == 'ALL') @elseif($p->type == 'IN') @elseif($p->type == 'OUT') @endif @endif @endforeach @foreach($payments as $p) @if(isset($totals[$p->name])) @php $diff = $totals[$p->name]["IN"] - $totals[$p->name]["OUT"]; @endphp @if($diff < 0) @endif @if($diff > 0) @endif @else @endif @endforeach
Data Tipo Causale Stato Nominativo{{$p->name}}
Entrate UsciteEntrate Uscite
{{date("d/m/Y", strtotime($d))}} {{$c}} @if($isMultiple) {{$displayDetail}} @else {{$displayDetail}} @endif @if($del == 'DELETED') Annullata @endif {{$n}} @if(isset($record[$p->name]["IN"])) {{formatPrice($record[$p->name]["IN"])}} @endif @if(isset($record[$p->name]["OUT"])) {{formatPrice($record[$p->name]["OUT"])}} @endif
Totale{{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["IN"] : 0)}} {{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["OUT"] : 0)}}{{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["IN"] : 0)}}    {{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["OUT"] : 0)}}{{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["IN"] : 0)}} {{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["OUT"] : 0)}}{{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["IN"] : 0)}}    {{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["OUT"] : 0)}}
Differenza{{formatPrice($diff)}}{{formatPrice(0)}}
@push('scripts') @endpush @push('scripts') @endpush @push('scripts') @endpush