You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/fatture/actions.php
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -742,6 +742,11 @@
742
742
$class = post('class');
743
743
$id_documento = post('id_documento');
744
744
745
+
// Metto l'intervento in stato "Fatturato"
746
+
if (setting('Cambia automaticamente stato attività fatturate')) {
747
+
$dbo->query("UPDATE `in_interventi` SET `idstatointervento`=(SELECT `id` FROM `in_statiintervento` WHERE `codice`='FAT') WHERE `id`=".prepare($id_documento));
748
+
}
749
+
745
750
// Individuazione del documento originale
746
751
if (!is_subclass_of($class, Common\Document::class)) {
0 commit comments