diff --git a/update/2_4_43.sql b/update/2_4_43.sql index 9c1ed1e59..9825bb57e 100644 --- a/update/2_4_43.sql +++ b/update/2_4_43.sql @@ -36,10 +36,10 @@ UPDATE `an_anagrafiche` SET `ragione_sociale` = CONCAT(cognome, " ", nome) WHERE -- Aggiunto options images su stampe preventivi e ordini per gestire la visualizzazione delle immagini UPDATE `zz_prints` SET `options` = '{\"pricing\": false, \"last-page-footer\": true, \"images\": true}' WHERE `zz_prints`.`name` = "Preventivo (senza costi)"; UPDATE `zz_prints` SET `options` = '{\"pricing\": true, \"last-page-footer\": true, \"images\": true}' WHERE `zz_prints`.`name` = "Preventivo"; -UPDATE `zz_prints` SET `options` = '{\"pricing\":true, \"hide_total\":true, \"images\": true}' WHERE `zz_prints`.`name` = "Preventivo (senza totali)"; -UPDATE `zz_prints` SET `options` = '{\"pricing\":false, \"show_only_total\":true, \"images\": true}' WHERE `zz_prints`.`name` = "Preventivo (solo totale)"; +UPDATE `zz_prints` SET `options` = '{\"pricing\":true, \"hide-total\":true, \"images\": true}' WHERE `zz_prints`.`name` = "Preventivo (senza totali)"; +UPDATE `zz_prints` SET `options` = '{\"pricing\":false, \"show-only-total\":true, \"images\": true}' WHERE `zz_prints`.`name` = "Preventivo (solo totale)"; UPDATE `zz_prints` SET `options` = '{\"pricing\": false, \"last-page-footer\": true, \"images\": true}' WHERE `zz_prints`.`name` = "Ordine cliente (senza costi)"; UPDATE `zz_prints` SET `options` = '{\"pricing\": true, \"last-page-footer\": true, \"images\": true}' WHERE `zz_prints`.`name` = "Ordine cliente"; -UPDATE `zz_prints` SET `options` = '{\"pricing\": true, \"last-page-footer\": true, \"hide_codice\": true, \"images\": true}' WHERE `zz_prints`.`name` = "Ordine cliente (senza codici)"; +UPDATE `zz_prints` SET `options` = '{\"pricing\": true, \"last-page-footer\": true, \"hide-codice\": true, \"images\": true}' WHERE `zz_prints`.`name` = "Ordine cliente (senza codici)"; UPDATE `zz_prints` SET `options` = '{\"pricing\":false, \"images\": false}' WHERE `zz_prints`.`name` = "Ordine fornitore (senza costi)"; UPDATE `zz_prints` SET `options` = '{\"pricing\":true, \"images\": false}' WHERE `zz_prints`.`name` = "Ordine fornitore"; diff --git a/update/2_4_44.sql b/update/2_4_44.sql index c339c8a84..3fce57ec6 100644 --- a/update/2_4_44.sql +++ b/update/2_4_44.sql @@ -276,3 +276,7 @@ GROUP BY HAVING 2=2" WHERE `name` = 'Pagamenti'; +-- Fix vista Stampe +UPDATE `zz_prints` SET `options` = '{\"pricing\": true, \"last-page-footer\": true, \"hide-codice\": true, \"images\": true}' WHERE `zz_prints`.`name` = "Ordine cliente (senza codici)"; +UPDATE `zz_prints` SET `options` = '{\"pricing\":true, \"hide-total\":true, \"images\": true}' WHERE `zz_prints`.`name` = "Preventivo (senza totali)"; +UPDATE `zz_prints` SET `options` = '{\"pricing\":false, \"show-only-total\":true, \"images\": true}' WHERE `zz_prints`.`name` = "Preventivo (solo totale)"; \ No newline at end of file