@extends('admin') @section('content')

Rapporto dei movimenti

Esporta in .ods
Rapporto spese per categoria nell'arco dell'anno {{ $anno ?? '' }}
@csrf
@foreach($mesi as $mese) @endforeach @php $cat=0; @endphp @foreach($categorie as $categoria) @php $index=0; while($index<12) { @endphp @php $index++; } @endphp @php $cat++; @endphp @endforeach
Categoria{{ $mese }}Totale
{{ $categoria->cat_name}}{{ $matrice[$cat][$index] }}{{ number_format($totale[$cat],2,'.','') }}
@endsection @section('script') @endsection