forked from Wavyzz/dolibarr
Total prices
This commit is contained in:
@@ -46,5 +46,7 @@ ALTER TABLE llx_paiement_extrafields ADD UNIQUE INDEX uk_paiement_extrafields (f
|
||||
ALTER TABLE llx_commande ADD COLUMN ip varchar(250);
|
||||
ALTER TABLE llx_commande ADD COLUMN user_agent varchar(255);
|
||||
|
||||
ALTER TABLE llx_c_currencies ADD COLUMN max_decimal_unit tinyint NULL; -- Number of decimal in this currency for unit prices
|
||||
ALTER TABLE llx_c_currencies ADD COLUMN max_decimal_tot tinyint NULL; -- Number of decimal in this currency for total prices
|
||||
|
||||
-- end of migration
|
||||
|
||||
@@ -20,10 +20,10 @@
|
||||
|
||||
create table llx_c_currencies
|
||||
(
|
||||
code_iso varchar(3) PRIMARY KEY,
|
||||
label varchar(128) NOT NULL,
|
||||
unicode varchar(32) DEFAULT NULL,
|
||||
active tinyint DEFAULT 1 NOT NULL
|
||||
|
||||
code_iso varchar(3) PRIMARY KEY,
|
||||
label varchar(128) NOT NULL,
|
||||
unicode varchar(32) DEFAULT NULL,
|
||||
active tinyint DEFAULT 1 NOT NULL,
|
||||
max_decimal_unit tinyint NULL, -- Number of decimal in this currency for unit prices
|
||||
max_decimal_tot tinyint NULL -- Number of decimal in this currency for total prices
|
||||
)ENGINE=innodb;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user