Entrate/uscite gestionale

@if(sizeof($columns) < 6) @endif @if($showData) @endif

Entrate

Filtra per causale
@foreach($columns as $idx => $column) @endforeach @for($j=sizeof($columns);$j<6;$j++) @endfor @foreach($rows_in as $in) @if($filterCausalsIn == null || (sizeof($filterCausalsIn) == 0 || in_array($in["id"], $filterCausalsIn) || in_array($in["parent_id"], $filterCausalsIn) || in_array($in["first_parent_id"], $filterCausalsIn))) @foreach($columns as $column) @endforeach @for($j=sizeof($columns);$j<6;$j++) @endif @endforeach @foreach($columns as $column) @endforeach @for($j=sizeof($columns);$j<6;$j++)
{{$this->getMonth($column)}}
 
{!!str_repeat("      ", $in["level"])!!}{{$in["name"]}} @if(isset($records_in[$column][$in["id"]])) {{formatPrice($records_in[$column][$in["id"]])}} @else   @endif   @endfor
Totale entrate mensili @php $total = 0; @endphp @foreach($rows_in as $in) @if($filterCausalsIn == null || (sizeof($filterCausalsIn) == 0 || in_array($in["id"], $filterCausalsIn))) @if(isset($records_in[$column][$in["id"]]) && $in["level"] == 0) @php $total += $records_in[$column][$in["id"]]; @endphp @endif @endif @endforeach {{formatPrice($total)}}   @endfor

Uscite

@foreach($columns as $idx => $column) @endforeach @for($j=sizeof($columns);$j<6;$j++) @endfor @foreach($rows_out as $out) @if($filterCausalsOut == null || (sizeof($filterCausalsOut) == 0 || in_array($out["id"], $filterCausalsOut))) @foreach($columns as $column) @endforeach @for($j=sizeof($columns);$j<6;$j++) @endif @endforeach @foreach($columns as $column) @endforeach @for($j=sizeof($columns);$j<6;$j++)
{{$this->getMonth($column)}}
 
{!!str_repeat("      ", $out["level"])!!}{{$out["name"]}} @if(isset($records_out[$column][$out["id"]])) {{formatPrice($records_out[$column][$out["id"]])}} @else   @endif   @endfor
Totale uscite mensili @php $total = 0; @endphp @foreach($rows_out as $out) @if($filterCausalsOut == null || (sizeof($filterCausalsOut) == 0 || in_array($out["id"], $filterCausalsOut))) @if(isset($records_out[$column][$out["id"]]) && $out["level"] == 0) @php $total += $records_out[$column][$out["id"]]; @endphp @endif @endif @endforeach {{formatPrice($total)}}   @endfor
@push('scripts') @endpush @push('scripts') @endpush