diff --git a/back/model-config.json b/back/model-config.json index 851ae2505..bdcfe0090 100644 --- a/back/model-config.json +++ b/back/model-config.json @@ -229,7 +229,7 @@ "TagI18n": { "dataSource": "vn" }, - "itemCategoryI18n": { + "ItemCategoryI18n": { "dataSource": "vn" } } diff --git a/db/dump/fixtures.before.sql b/db/dump/fixtures.before.sql index 7f7e50dd3..e7866251b 100644 --- a/db/dump/fixtures.before.sql +++ b/db/dump/fixtures.before.sql @@ -3943,9 +3943,9 @@ INSERT INTO vn.medicalReview (id, workerFk, centerFk, `date`, `time`, isFit, amount, invoice, remark) VALUES(3, 9, 2, '2000-01-01', '8:00', 1, 150.0, NULL, NULL); -INSERT INTO vn.stockBought (workerFk, bought, reserve, dated) - VALUES(35, 1.00, 1.00, '2001-01-01'); -INSERT INTO vn.auctionConfig (id,conversionCoefficient,warehouseFk) +INSERT INTO vn.stockBought (workerFk, bought, reserve, dated) + VALUES(35, 1.00, 1.00, '2001-01-01'); +INSERT INTO vn.auctionConfig (id,conversionCoefficient,warehouseFk) VALUES (1,0.6,6); INSERT INTO vn.payrollComponent @@ -4010,4 +4010,41 @@ INSERT IGNORE INTO pbx.queueMember UPDATE vn.department SET pbxQueue = '1000' WHERE name = "CAMARA"; UPDATE vn.department SET pbxQueue = '2000' WHERE name = "VENTAS"; - +INSERT INTO vn.itemTypeI18n (typeFk, lang, name) +VALUES + (1, 'ca', 'Alstroemeria'), + (1, 'en', 'Alstroemeria'), + (1, 'fr', 'Alstroemeria'), + (1, 'pt', 'Alstroemeria'), + (2, 'ca', 'Anthurium'), + (2, 'en', 'Anthurium'), + (2, 'fr', 'Anthurium'), + (2, 'pt', 'Antúrios'), + (3, 'ca', 'Bulbs'), + (3, 'en', 'Bulbs'), + (3, 'fr', 'Bulbes'), + (3, 'pt', 'Bulbos'), + (4, 'ca', 'Cales'), + (4, 'en', 'Calla Lilies'), + (4, 'fr', 'Calas'), + (4, 'pt', 'Jarros (callas)'), + (5, 'ca', 'Clavell'), + (5, 'en', 'Carnation'), + (5, 'fr', 'Oeillet'), + (5, 'pt', 'Cravo'), + (6, 'ca', 'Crisantem'), + (6, 'en', 'Chrysanthemum'), + (6, 'fr', 'Chrysanthème'), + (6, 'pt', 'Margaridas'), + (7, 'ca', 'Rams Variats'), + (7, 'en', 'Mixed Bouquets'), + (7, 'fr', 'Bouquets divers'), + (7, 'pt', 'Bouquet Variados'), + (8, 'ca', 'Flor Variada'), + (8, 'en', 'Assorted Flowers'), + (8, 'fr', 'Fleurs varié'), + (8, 'pt', 'Flores Variadas'), + (9, 'ca', 'Crisantem Santa Dorotea'), + (9, 'en', 'Santa Dorotea Chrysanthemum'), + (9, 'fr', 'Chrysanthème Santa Dorotea'), + (9, 'pt', 'Crisântemo Santa Dorotea'); diff --git a/db/versions/11309-pinkGalax/00-firstScript.sql b/db/versions/11309-pinkGalax/00-firstScript.sql index cfe85ed7c..287449792 100644 --- a/db/versions/11309-pinkGalax/00-firstScript.sql +++ b/db/versions/11309-pinkGalax/00-firstScript.sql @@ -1,3 +1,13 @@ INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId) - VALUES ('CompanyI18n','*','*','ALLOW','ROLE','employee'); + VALUES + ('CompanyI18n','*','*','ALLOW','ROLE','employee'), + ('ItemTypeI18n','*','*','ALLOW','ROLE','employee'), + ('InkI18n','*','*','ALLOW','ROLE','employee'), + ('OriginI18n','*','*','ALLOW','ROLE','employee'), + ('StateI18n','*','*','ALLOW','ROLE','employee'), + ('TagI18n','*','*','ALLOW','ROLE','employee'), + ('itemCategoryI18n','*','*','ALLOW','ROLE','employee'); + + +