diff --git a/modules/interventi/add.php b/modules/interventi/add.php index 8fd15c93b..560e09ac0 100644 --- a/modules/interventi/add.php +++ b/modules/interventi/add.php @@ -71,7 +71,7 @@ elseif (!empty($idcontratto) && !empty($idcontratto_riga)) { $idimpianto = implode(',', array_column($rs, 'idimpianto')); // Seleziono "In programmazione" come stato - $rs = $dbo->fetchArray("SELECT * FROM in_statiintervento WHERE codice='WIP'"); + $rs = $dbo->fetchArray("SELECT * FROM in_statiintervento WHERE idstatointervento='WIP'"); $idstatointervento = $rs[0]['idstatointervento']; } diff --git a/templates/contratti/body.php b/templates/contratti/body.php index 0a12335ee..5461ddf7d 100644 --- a/templates/contratti/body.php +++ b/templates/contratti/body.php @@ -303,7 +303,7 @@ echo '
FIRMA PER ACCETTAZIONE

- _____________________________________ + _____________________________________________ diff --git a/templates/preventivi/body.php b/templates/preventivi/body.php index 2c6154161..2bc7f1720 100644 --- a/templates/preventivi/body.php +++ b/templates/preventivi/body.php @@ -355,7 +355,7 @@ echo '
FIRMA PER ACCETTAZIONE

- _____________________________________ + _____________________________________________