We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca88adc commit 8e2a451Copy full SHA for 8e2a451
1 file changed
modules/interventi/header.php
@@ -63,7 +63,7 @@
63
->where('orario_inizio', '<', Carbon::tomorrow())
64
->sum('ore');
65
} else {
66
- $ore_erogate = $contratto->interventi->sum('ore_ore_totali_da_conteggiaretotali');
+ $ore_erogate = $contratto->interventi->sum('ore_totali_da_conteggiare');
67
}
68
$ore_previste = $contratto->getRighe()->where('um', 'ore')->sum('qta');
69
$perc_ore = $ore_previste != 0 ? ($ore_erogate * 100) / ($ore_previste ?: 1) : 0;
0 commit comments