Skip to content

Commit

Permalink
feat: aggiornamento campi di tipo telefono e email
Browse files Browse the repository at this point in the history
  • Loading branch information
Pek5892 committed Nov 4, 2024
1 parent f5244ff commit be35557
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions update/2_6.sql
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,11 @@ INSERT INTO `zz_plugins_lang` (`id_lang`, `id_record`, `title`)
VALUES
(1, LAST_INSERT_ID(), 'Mandati SEPA'),
(2, LAST_INSERT_ID(), 'Mandati SEPA');

-- Allineamento campi telefono e email in viste
UPDATE `zz_views` SET `name` = 'tel_Telefono' WHERE `zz_views`.`name` = 'Telefono';
UPDATE `zz_views` SET `name` = 'tel_Cellulare' WHERE `zz_views`.`name` = 'Cellulare';
UPDATE `zz_views` SET `name` = 'emailto_Email' WHERE `zz_views`.`name` = 'Email';
UPDATE `zz_views_lang` SET `title` = 'tel_Telefono' WHERE `zz_views_lang`.`id_record` = (SELECT `id` FROM `zz_views` WHERE `name` = 'tel_Telefono');
UPDATE `zz_views_lang` SET `title` = 'tel_Cellulare' WHERE `zz_views_lang`.`id_record` = (SELECT `id` FROM `zz_views` WHERE `name` = 'tel_Cellulare');
UPDATE `zz_views_lang` SET `title` = 'emailto_Email' WHERE `zz_views_lang`.`id_record` = (SELECT `id` FROM `zz_views` WHERE `name` = 'emailto_Email');

0 comments on commit be35557

Please sign in to comment.