From b2730f446cf0ad95c0160408a84f7c12c2c1db9f Mon Sep 17 00:00:00 2001 From: loviuz Date: Thu, 4 Nov 2021 19:13:42 +0100 Subject: [PATCH] Rimozione delle aliquote iva eliminate dalla lista --- update/2_4_28.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update/2_4_28.sql b/update/2_4_28.sql index caf33bd79..57094cf30 100644 --- a/update/2_4_28.sql +++ b/update/2_4_28.sql @@ -10,3 +10,6 @@ UPDATE `zz_modules` SET `options` = 'SELECT |select| FROM `in_interventi`\nINNER INSERT INTO `zz_views` (`id_module`, `name`, `query`, `order`, `search`, `slow`, `format`, `search_inside`, `order_by`, `visible`, `summable`, `default`) VALUES ((SELECT `id` FROM `zz_modules` WHERE `name` = 'Interventi'), 'icon_Inviata', 'IF(`email`.`id_email` IS NOT NULL, \'fa fa-envelope text-success\', \'\')', 18, 1, 0, 0, '', '', 1, 0, 0), ((SELECT `id` FROM `zz_modules` WHERE `name` = 'Interventi'), 'icon_title_Inviata', 'IF(`email`.`id_email` IS NOT NULL, \'Inviata via email\', \'\')', 19, 1, 0, 0, '', '', 0, 0, 0); + +-- Rimozione delle aliquote iva eliminate dalla lista +UPDATE `zz_modules` SET `options` = 'SELECT |select| FROM `co_iva` WHERE 1=1 AND deleted_at IS NULL HAVING 2=2' WHERE `name` = 'IVA';