|
|
|
|
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