[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 59/73: Correct menu PARAM
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 59/73: Correct menu PARAM |
Date: |
Fri, 28 May 2021 05:26:45 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 7df9dcc9e5e1aebad5344ec99e47fa79503edd71
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Tue May 11 13:01:12 2021 +0200
Correct menu PARAM
---
sql/upgrade.sql | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/sql/upgrade.sql b/sql/upgrade.sql
index e69de29..51bb51b 100644
--- a/sql/upgrade.sql
+++ b/sql/upgrade.sql
@@ -0,0 +1,33 @@
+update menu_ref set me_menu = 'Dépôt' where me_code='CFGSTOCK';
+update menu_ref set me_menu = 'Extension' where me_code='CFGPLUGIN';
+update menu_ref set me_menu = 'Etiquette' where me_code='CFGTAG';
+
+insert into menu_ref
(me_code,me_description,me_description_etendue,me_type,me_menu)
+ values ('MCARD','Paramètrage des fiches','Menu regroupant ce qui
concerne les fiches','E','Fiche'),
+ ('MDOC','Paramètrage des documents','Meu regroupant ce qui concene les
documents ','E','Document'),
+ ('MACC','Paramètrage comptabilité','Menu regroupant ce qui concerne la
comptabilité','E','Comptabilité');
+
+insert into
profile_menu(me_code,me_code_dep,p_id,p_order,p_type_display,pm_id_dep)
+select 'MCARD','PARAM',1,20,'E',(select min(pm_id) from profile_menu where
me_code='PARAM' and p_id=1) ;
+
+
+insert into
profile_menu(me_code,me_code_dep,p_id,p_order,p_type_display,pm_id_dep)
+select 'MDOC','PARAM',1,30,'E',(select min(pm_id) from profile_menu where
me_code='PARAM' and p_id=1) ;
+
+insert into
profile_menu(me_code,me_code_dep,p_id,p_order,p_type_display,pm_id_dep)
+select 'MACC','PARAM',1,50,'E',(select min(pm_id) from profile_menu where
me_code='PARAM' and p_id=1) ;
+
+update profile_menu set me_code_dep='MCARD',pm_id_dep=(select pm_id from
profile_menu where me_code='MCARD') where p_id=1 and me_code_dep ='PARAM' and
me_code in ('CFGCARD');
+
+update profile_menu set me_code_dep='MCARD',pm_id_dep=(select pm_id from
profile_menu where me_code='MCARD') where p_id=1 and me_code_dep ='DIVPARM'
and me_code in ('CFGOPT1','CFGATCARD','CFGCARDCAT');
+
+
+update profile_menu set me_code_dep='MDOC',pm_id_dep=(select pm_id from
profile_menu where me_code='MDOC') where p_id=1 and me_code_dep ='PARAM' and
me_code in ('CFGDOC');
+
+update profile_menu set me_code_dep='MDOC',pm_id_dep=(select pm_id from
profile_menu where me_code='MDOC') where p_id=1 and me_code_dep ='DIVPARM' and
me_code in ('CFGDOCST','CFGACTION');
+
+update profile_menu set me_code_dep='MACC',pm_id_dep=(select pm_id from
profile_menu where me_code='MACC') where p_id=1 and me_code_dep ='PARAM' and
me_code in ('CFGPCMN','CFGCURRENCY','PERIODE','CFGLED','PREDOP');
+
+update profile_menu set me_code_dep='MACC',pm_id_dep=(select pm_id from
profile_menu where me_code='MACC') where p_id=1 and me_code_dep ='DIVPARM' and
me_code in ('CFGPAY','CFGTVA','CFGACC');
+
+delete from profile_menu where p_id=1 and me_code='DIVPARM' and me_code_dep
='PARAM';
- [Noalyss-commit] [noalyss] 45/73: Cosmetic : button with HREF, (continued)
- [Noalyss-commit] [noalyss] 45/73: Cosmetic : button with HREF, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 60/73: Cosmetic : navigator on small device, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 62/73: Remove dead code, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 63/73: Unit test : update, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 65/73: Task #0001992: Prévision, calcul avec comptabilité analytique, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 54/73: Security : Check the folder, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 05/73: comptability version 7.4 warning null is not a countable, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 48/73: PLpgSQL function , format properly the accounting before inserting fiche_detail and tmp_pcmn tables, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 51/73: Code rewriting : doc and remove duplicated function, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 58/73: Improve Manage_Table_SQL : missing param for execute-query, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 59/73: Correct menu PARAM,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 61/73: Bootstrap 4.6, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 64/73: cosmetic : menu on small screen, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 66/73: Devise correct autoliquidation not taken into account for currency, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 67/73: remove debug info, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 68/73: Payment by bank : currency info was missing, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 70/73: Bootstrap 4.6, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 69/73: Javascript format date, transform space into dot, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 71/73: Cosmetic : adapt for small screen , add border to cells, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 72/73: code improve rename scripts.js -> noalyss_script.js, Dany De Bontridder, 2021/05/28
- [Noalyss-commit] [noalyss] 73/73: Balance : code cleaning and cosmetic, Dany De Bontridder, 2021/05/28