diff --git a/update/2_4_10.php b/update/2_4_10.php index 8dffaec7e..2f805c83b 100755 --- a/update/2_4_10.php +++ b/update/2_4_10.php @@ -146,7 +146,6 @@ $files = [ 'modules\anagrafiche\plugins\statistiche.php', 'modules\interventi\src\TipoSessione.php', 'templates\registro_iva\body.php', - 'templates\registro_iva\header.php', 'templates\scadenzario\scadenzario.html', 'templates\scadenzario\scadenzario_body.html', 'templates\scadenzario\pdfgen.scadenzario.php', diff --git a/update/2_4_20.php b/update/2_4_20.php index 0a3855525..afc6b7d2b 100644 --- a/update/2_4_20.php +++ b/update/2_4_20.php @@ -10,9 +10,7 @@ use Modules\Preventivi\Components\Articolo as ArticoloPreventivo; use Modules\Preventivi\Components\Riga as RigaPreventivo; // File e cartelle deprecate -$files = [ - 'modules/listini', -]; +$files = []; foreach ($files as $key => $value) { $files[$key] = realpath(base_dir().'/'.$value); diff --git a/update/2_4_23.sql b/update/2_4_23.sql index d9c089a8c..f451f7e38 100644 --- a/update/2_4_23.sql +++ b/update/2_4_23.sql @@ -97,7 +97,7 @@ UPDATE `co_righe_promemoria` SET `iva` = ABS(`iva`) * IF(`sconto` > 0, -1, 1) WH UPDATE `in_righe_interventi` SET `iva` = ABS(`iva`) * IF(`sconto` > 0, -1, 1) WHERE `is_sconto` = 1; -- Aumentato il campo descrizione in articoli da varchar a text -ALTER TABLE `mg_articoli` CHANGE `descrizione` `descrizione` TEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL; +ALTER TABLE `mg_articoli` CHANGE `descrizione` `descrizione` TEXT NOT NULL; -- Set a NULL le date dei contratti vuote UPDATE `co_contratti` SET `data_bozza`=NULL WHERE `data_bozza`=0000-00-00; diff --git a/update/2_4_6.php b/update/2_4_6.php index c3f69c0b7..0f11172e1 100755 --- a/update/2_4_6.php +++ b/update/2_4_6.php @@ -1,9 +1,7 @@ $value) { $files[$key] = realpath(base_dir().'/'.$value);