Aggiunto colonna totali a report movimenti annui

This commit is contained in:
2022-03-21 15:34:48 +01:00
parent 3a07259e5a
commit b268536727
2 changed files with 19 additions and 7 deletions

View File

@@ -25,6 +25,7 @@
@foreach($mesi as $mese)
<td>{{ $mese }}</td>
@endforeach
<td><b>Totale</b></td>
</tr>
</thead>
<tbody>
@@ -42,13 +43,16 @@
{
@endphp
<td>{{ $matrice[$cat][$index]['totale'] }}</td>
<td>{{ $matrice[$cat][$index] }}</td>
@php
$index++;
}
$cat++;
@endphp
<td align="right"><b>{{ number_format($totale[$cat],2,'.','') }}</b></td>
@php
$cat++;
@endphp
</tr>
@endforeach