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 58f8b92 commit 9e7a07fCopy full SHA for 9e7a07f
1 file changed
plugins/consuntivo/edit.php
@@ -347,9 +347,10 @@ function getQueryInterventiDisponibili($idanagrafica)
347
348
$budget = $documento->totale_imponibile;
349
$righe = $documento->getRighe();
350
+$totale_ore_contratto = 0;
351
foreach ($righe as $riga) {
352
if ($riga->um == 'ore') {
- $totale_ore_contratto = $riga->qta;
353
+ $totale_ore_contratto += $riga->qta;
354
}
355
356
0 commit comments