[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 84/107: Task #1734 Upgrade patch for PRINTTVA
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 84/107: Task #1734 Upgrade patch for PRINTTVA |
Date: |
Mon, 26 Aug 2019 10:32:06 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 2efba0ac383443d06dcf5e152c7c37a45a797422
Author: Dany De Bontridder <address@hidden>
Date: Thu Aug 15 12:07:31 2019 +0200
Task #1734 Upgrade patch for PRINTTVA
---
include/constant.php | 2 +-
sql/upgrade.sql => include/sql/patch/upgrade135.sql | 5 +++++
sql/upgrade.sql | 18 ------------------
3 files changed, 6 insertions(+), 19 deletions(-)
diff --git a/include/constant.php b/include/constant.php
index cc27a55..81911ff 100644
--- a/include/constant.php
+++ b/include/constant.php
@@ -108,7 +108,7 @@ if ( !defined ("NOALYSS_PACKAGE_REPOSITORY")) {
if ( ! defined ("SYSINFO_DISPLAY")) {
define ("SYSINFO_DISPLAY",TRUE);
}
-define ("DBVERSION",135);
+define ("DBVERSION",136);
define ("MONO_DATABASE",25);
define ("DBVERSIONREPO",18);
define ('NOTFOUND','--not found--');
diff --git a/sql/upgrade.sql b/include/sql/patch/upgrade135.sql
similarity index 91%
copy from sql/upgrade.sql
copy to include/sql/patch/upgrade135.sql
index 20feb0a..e45fa03 100644
--- a/sql/upgrade.sql
+++ b/include/sql/patch/upgrade135.sql
@@ -1,3 +1,5 @@
+begin;
+
insert into menu_ref
(me_code,me_menu,me_file,me_description,me_type,me_description_etendue)
values('PRINTTVA','Résumé TVA','tax_summary.inc.php','totaux par TVA et par
journal','ME','Calcul des totaux par TVA et par journal');
@@ -16,3 +18,6 @@ values ('CSV:printtva','Export Résumé
TVA','export_printtva_csv.php','PR'),
;
insert into profile_menu(me_code,p_id,p_type_display) values
('CSV:printtva',1,'P'),('PDF:printtva',1,'P'),('CSV:printtva',2,'P'),('PDF:printtva',2,'P');
+
+insert into version (val,v_description) values (136,'new feature PRINTTVA');
+commit ;
\ No newline at end of file
diff --git a/sql/upgrade.sql b/sql/upgrade.sql
index 20feb0a..e69de29 100644
--- a/sql/upgrade.sql
+++ b/sql/upgrade.sql
@@ -1,18 +0,0 @@
-insert into menu_ref
(me_code,me_menu,me_file,me_description,me_type,me_description_etendue)
-values('PRINTTVA','Résumé TVA','tax_summary.inc.php','totaux par TVA et par
journal','ME','Calcul des totaux par TVA et par journal');
-
-insert into profile_menu
(me_code,me_code_dep,p_id,p_order,p_type_display,pm_default,pm_id_dep)
-select me_code,'PRINT',1,250,'E',0,6 from menu_ref where me_code='PRINTTVA'
-union
-select me_code,'PRINT',1,250,'E',0,35 from menu_ref where me_code='PRINTTVA'
-union
-select me_code,'PRINT',2,250,'E',0,719 from menu_ref where me_code='PRINTTVA'
-union
-select me_code,'PRINT',2,250,'E',0,716 from menu_ref where me_code='PRINTTVA'
-;
-insert into menu_ref (me_code,me_menu,me_file,me_type)
-values ('CSV:printtva','Export Résumé TVA','export_printtva_csv.php','PR'),
- ('PDF:printtva','Export Résumé TVA','export_printtva_pdf.php','PR')
-;
-
-insert into profile_menu(me_code,p_id,p_type_display) values
('CSV:printtva',1,'P'),('PDF:printtva',1,'P'),('CSV:printtva',2,'P'),('PDF:printtva',2,'P');
- [Noalyss-commit] [noalyss] 32/107: Cosmetic : font new symbol Cosmetic : CSS padding for div.menu2 a.mtitle, (continued)
- [Noalyss-commit] [noalyss] 32/107: Cosmetic : font new symbol Cosmetic : CSS padding for div.menu2 a.mtitle, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 58/107: javascript Add new function json_response, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 52/107: Adapt Unit Test, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 76/107: fixup! Improve message progress bar + translation, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 78/107: Purpose is to contain all the prepared query called from different locations, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 83/107: Task#1734 New : Add PRINTTVA to have a summary of VAT by ledger, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 93/107: Documentation, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 92/107: Code : remove direct use of $_GET, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 39/107: Code cleaning : split database into database (for noalyss) and databasecore , with the functions, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 98/107: New :: function Icon_Action::tips for short comment New : Icon_Action::unlock, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 84/107: Task #1734 Upgrade patch for PRINTTVA,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 46/107: Code Cleaning split PDF into PDF_Core and PDF, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 105/107: fixup! New Task 1728: Aide à l'encodage - Journaux négatifs (note de crédit), Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 106/107: cosmetic, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 64/107: Add demo for fontello, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 75/107: Task #0001731: Moyen de paiement, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 81/107: Task #0001733: Impression moyen paiement, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 56/107: New function PDF_Core:is_fill add documentation, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 38/107: load_all must always return an array, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 67/107: SQL : add constraint for payment_method, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 44/107: fixup! fixup! Code cleaning : split database into database (for noalyss) and databasecore , with the functions, Dany De Bontridder, 2019/08/26