Update SQL migration

This commit is contained in:
jcp 2020-11-12 19:42:20 +01:00
parent 615342aa77
commit 10ae18fe44
3 changed files with 8 additions and 5 deletions

View File

@ -95,8 +95,8 @@ if ($action == 'add')
$object->proprio = trim(GETPOST("proprio", 'alphanohtml'));
$object->owner_address = trim(GETPOST("owner_address", 'nohtml'));
$object->ics = trim($_POST["ics"]);
$object->ics_transfer = trim($_POST["ics_transfer"]);
$object->ics = trim(GETPOST("ics", 'alpha');
$object->ics_transfer = trim(GETPOST("ics_transfer", 'alpha');
$account_number = GETPOST('account_number', 'alphanohtml');
if (empty($account_number) || $account_number == '-1')
@ -199,8 +199,8 @@ if ($action == 'update')
$object->proprio = trim(GETPOST("proprio", 'alphanohtml'));
$object->owner_address = trim(GETPOST("owner_address", 'nohtml'));
$object->ics = trim($_POST["ics"]);
$object->ics_transfer = trim($_POST["ics_transfer"]);
$object->ics = trim(GETPOST("ics", 'alpha');
$object->ics_transfer = trim(GETPOST("ics_transfer", 'alpha');
$account_number = GETPOST('account_number', 'alpha');
if (empty($account_number) || $account_number == '-1')

View File

@ -372,6 +372,9 @@ ALTER TABLE llx_bank ADD COLUMN origin_id integer;
ALTER TABLE llx_bank ADD COLUMN origin_type varchar(64) NULL;
ALTER TABLE llx_bank ADD COLUMN import_key varchar(14);
ALTER TABLE llx_bank_account ADD COLUMN ics varchar(32) NULL;
ALTER TABLE llx_bank_account ADD COLUMN ics_transfer varchar(32) NULL;
ALTER TABLE llx_menu MODIFY COLUMN enabled text;
CREATE TABLE llx_ecm_files_extrafields

View File

@ -147,4 +147,4 @@ InfoRejectSubject=Direct debit payment order refused
InfoRejectMessage=Hello,<br><br>the direct debit payment order of invoice %s related to the company %s, with an amount of %s has been refused by the bank.<br><br>--<br>%s
ModeWarning=Option for real mode was not set, we stop after this simulation
ErrorCompanyHasDuplicateDefaultBAN=Company with id %s has more than one default bank account. No way to know wich one to use.
ErrorICSmissing=Missing ICS in Bank account %s
ErrorICSmissing=Missing ICS in Bank account %s