Prima nota

Utente
Causale
Dal
al
@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 $check = strpos($causal, "$") ? explode("$", $causal)[1] : $causal; list($d, $c, $n, $det, $del) = explode("ยง", $check); @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 Causale Dettaglio Causale Stato Nominativo{{$p->name}}
Entrate UsciteEntrate Uscite
{{date("d/m/Y", strtotime($d))}} {{$c}} {{$det}} @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 @push('scripts') @endpush