| Data | Causale | Dettaglio Causale | Stato | Nominativo | @foreach($payments as $p){{$p->name}} | @endforeach|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @foreach($payments as $p) @if($p->type == 'ALL') | Entrate | Uscite | @elseif($p->type == 'IN')Entrate | @elseif($p->type == 'OUT') | Uscite | @endif @endforeach|||||||||||
| {{date("d/m/Y", strtotime($d))}} | {{$c}} | @if($isMultiple) {{$displayDetail}} @else {{$displayDetail}} @endif | @if($del == 'DELETED') Annullata @endif | {{$n}} | @foreach($payments as $p) @if(isset($record[$p->name]))@if(isset($record[$p->name]["IN"])) {{formatPrice($record[$p->name]["IN"])}} @endif | @if(isset($record[$p->name]["OUT"])) {{formatPrice($record[$p->name]["OUT"])}} @endif | @else@endif @endforeach | |||||||||
| Totale | @foreach($payments as $p) @if(isset($totals[$p->name])) @if($p->type == 'ALL'){{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["IN"] : 0)}} | {{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["OUT"] : 0)}} | @elseif($p->type == 'IN'){{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["IN"] : 0)}} | @elseif($p->type == 'OUT') | {{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["OUT"] : 0)}} | @endif @else @if($p->type == 'ALL'){{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["IN"] : 0)}} | {{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["OUT"] : 0)}} | @elseif($p->type == 'IN'){{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["IN"] : 0)}} | @elseif($p->type == 'OUT') | {{formatPrice(isset($totals[$p->name]) ? $totals[$p->name]["OUT"] : 0)}} | @endif @endif @endforeach||||||