From 2dd4b77e5fe86743a68d10a219d6c1bed4b3e7f4 Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 20 Feb 2018 16:42:59 +0100 Subject: [PATCH] Fix idstatointervento al posto di codice per pianificazione da contratto --- modules/interventi/add.php | 2 +- templates/contratti/body.php | 2 +- templates/preventivi/body.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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

- _____________________________________ + _____________________________________________