integre changement SQL
This commit is contained in:
parent
66c630095d
commit
58673932a9
4 changed files with 13 additions and 8 deletions
|
|
@ -617,7 +617,7 @@ class Acc_Ledger extends jrn_def_sql
|
||||||
*/
|
*/
|
||||||
function confirm($p_array, $p_readonly=false)
|
function confirm($p_array, $p_readonly=false)
|
||||||
{
|
{
|
||||||
global $g_parameter;
|
global $g_parameter,$g_user;
|
||||||
$http=new HttpInput();
|
$http=new HttpInput();
|
||||||
$msg=array();
|
$msg=array();
|
||||||
if (!$p_readonly)
|
if (!$p_readonly)
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,7 @@ if (!defined("NOALYSS_PACKAGE_REPOSITORY")) {
|
||||||
if (!defined("SYSINFO_DISPLAY")) {
|
if (!defined("SYSINFO_DISPLAY")) {
|
||||||
define("SYSINFO_DISPLAY", TRUE);
|
define("SYSINFO_DISPLAY", TRUE);
|
||||||
}
|
}
|
||||||
define("DBVERSION", 193);
|
define("DBVERSION", 194);
|
||||||
define("MONO_DATABASE", 25);
|
define("MONO_DATABASE", 25);
|
||||||
define("DBVERSIONREPO", 20);
|
define("DBVERSIONREPO", 20);
|
||||||
define('NOTFOUND', '--not found--');
|
define('NOTFOUND', '--not found--');
|
||||||
|
|
|
||||||
11
include/sql/patch/upgrade193.sql
Normal file
11
include/sql/patch/upgrade193.sql
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
begin;
|
||||||
|
|
||||||
|
insert into action (ac_id,ac_description,ac_module,ac_code) values (1130,'Modifier le numéro de pièce','compta','UPDRECEIPT') on conflict do nothing;
|
||||||
|
insert into action (ac_id,ac_description,ac_module,ac_code) values (1140,'Modifier la date d''une operation' ,'compta','UPDDATE') on conflict do nothing;
|
||||||
|
|
||||||
|
insert into user_sec_act(ua_login,ua_act_id) select distinct ua_login,1130 from user_sec_act;
|
||||||
|
insert into user_sec_act(ua_login,ua_act_id) select distinct ua_login,1140 from user_sec_act;
|
||||||
|
|
||||||
|
|
||||||
|
insert into version (val,v_description) values (194,'Renforcement sécurité');
|
||||||
|
commit;
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
|
|
||||||
insert into action (ac_id,ac_description,ac_module,ac_code) values (1130,'Modifier le numéro de pièce','compta','UPDRECEIPT');
|
|
||||||
insert into action (ac_id,ac_description,ac_module,ac_code) values (1140,'Modifier la date d''une operation' ,'compta','UPDDATE');
|
|
||||||
|
|
||||||
insert into user_sec_act(ua_login,ua_act_id) select distinct ua_login,1130 from user_sec_act;
|
|
||||||
insert into user_sec_act(ua_login,ua_act_id) select distinct ua_login,1140 from user_sec_act;
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue