This commit is contained in:
Pablo Natek 2023-06-28 14:07:37 +02:00
parent 203e80afa8
commit 6e52b3b968
2 changed files with 8 additions and 8 deletions

View File

@ -37,7 +37,7 @@ BEGIN
DECLARE vHasCoreVnl BOOLEAN;
DECLARE vMandateTypeFk INT;
SELECT dafaultPayMethodFk,
SELECT defaultPayMethodFk,
defaultDueDay,
defaultCredit,
defaultIsTaxDataChecked,

View File

@ -1,6 +1,6 @@
DROP PROCEDURE IF EXISTS vn.clientCreate;
ALTER TABLE vn.clientConfig ADD dafaultPayMethodFk tinyint(3) unsigned NULL;
ALTER TABLE vn.clientConfig ADD defaultPayMethodFk tinyint(3) unsigned NULL;
ALTER TABLE vn.clientConfig ADD defaultDueDay int unsigned NULL;
ALTER TABLE vn.clientConfig ADD defaultCredit decimal(10, 2) NULL;
ALTER TABLE vn.clientConfig ADD defaultIsTaxDataChecked tinyint(1) NULL;
@ -10,7 +10,7 @@ ALTER TABLE vn.clientConfig ADD CONSTRAINT clientNewConfigPayMethod_FK FOREIGN K
ALTER TABLE vn.clientConfig ADD CONSTRAINT clientNewConfigMandateType_FK FOREIGN KEY (defaultMandateTypeFk) REFERENCES vn.mandateType(id);
UPDATE vn.clientConfig
SET dafaultPayMethodFk = 4,
SET defaultPayMethodFk = 4,
defaultDueDay = 5,
defaultCredit = 300.0,
defaultIsTaxDataChecked = 1,