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 f3d666b commit 61bcd8bCopy full SHA for 61bcd8b
1 file changed
plugins/consuntivo/edit.php
@@ -47,6 +47,10 @@
47
$text = tr('Ordine');
48
}
49
50
+if (empty($documento)) {
51
+ return;
52
+}
53
+
54
$interventi = Intervento::where($id_documento, $id_record)->get();
55
$totale_ore_completate = 0;
56
@@ -247,7 +251,6 @@
247
251
</table>';
248
252
249
253
250
-// Bilancio del documento
254
$budget = $documento->totale_imponibile;
255
$righe = $documento->getRighe();
256
foreach ($righe as $riga) {
0 commit comments