2
0
forked from Wavyzz/dolibarr

Total prices

This commit is contained in:
ldestailleur
2025-07-26 11:10:38 +02:00
parent 2f8b5b805f
commit cfba25b857
2 changed files with 8 additions and 6 deletions

View File

@@ -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

View File

@@ -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;