Commit 071fe3ac authored by Cédric Houbart's avatar Cédric Houbart
Browse files

Set id 1 for default currency on create

parent 1f89c89f
......@@ -5,7 +5,7 @@ INSERT INTO CATEGORIES(ID, NAME) VALUES ('0', 'Formules');
INSERT INTO CATEGORIES(ID, NAME) VALUES ('-1', 'Pré-paiement');
INSERT INTO LOCATIONS(ID, NAME,ADDRESS) VALUES('0', 'Principal', NULL);
INSERT INTO CURRENCIES(ID, NAME, SYMBOL, DECIMALSEP, THOUSANDSSEP, RATE, FORMAT, MAIN) VALUES (0, 'Euro', '€', ',', ' ', 1.0, '#,##0.00 $', 1);
INSERT INTO CURRENCIES(ID, NAME, SYMBOL, DECIMALSEP, THOUSANDSSEP, RATE, FORMAT, MAIN) VALUES (1, 'Euro', '€', ',', ' ', 1.0, '#,##0.00 $', 1);
-- Taxes
INSERT INTO TAXCATEGORIES(ID, NAME) VALUES ('000', 'Sans TVA');
......
......@@ -5,7 +5,7 @@ INSERT INTO CATEGORIES(ID, NAME) VALUES ('0', 'Formules');
INSERT INTO CATEGORIES(ID, NAME) VALUES ('-1', 'Pré-paiement');
INSERT INTO LOCATIONS(ID, NAME,ADDRESS) VALUES('0', 'Principal', NULL);
INSERT INTO CURRENCIES(ID, NAME, SYMBOL, DECIMALSEP, THOUSANDSSEP, RATE, FORMAT, MAIN) VALUES (0, 'Euro', '€', ',', ' ', 1.0, '#,##0.00 $', 1);
INSERT INTO CURRENCIES(ID, NAME, SYMBOL, DECIMALSEP, THOUSANDSSEP, RATE, FORMAT, MAIN) VALUES (1, 'Euro', '€', ',', ' ', 1.0, '#,##0.00 $', 1);
-- Taxes
INSERT INTO TAXCATEGORIES(ID, NAME) VALUES ('000', 'Sans TVA');
......
......@@ -5,7 +5,7 @@ INSERT INTO CATEGORIES(ID, NAME) VALUES ('0', 'Formules');
INSERT INTO CATEGORIES(ID, NAME) VALUES ('-1', 'Pré-paiement');
INSERT INTO LOCATIONS(ID, NAME,ADDRESS) VALUES('0', 'Principal', NULL);
INSERT INTO CURRENCIES(ID, NAME, SYMBOL, DECIMALSEP, THOUSANDSSEP, RATE, FORMAT, MAIN) VALUES (0, 'Euro', '€', ',', ' ', 1.0, '#,##0.00 $', 1);
INSERT INTO CURRENCIES(ID, NAME, SYMBOL, DECIMALSEP, THOUSANDSSEP, RATE, FORMAT, MAIN) VALUES (1, 'Euro', '€', ',', ' ', 1.0, '#,##0.00 $', 1);
-- Taxes
INSERT INTO TAXCATEGORIES(ID, NAME) VALUES ('000', 'Sans TVA');
......
......@@ -5,7 +5,7 @@ INSERT INTO CATEGORIES(ID, NAME) VALUES ('0', 'Compositions');
INSERT INTO CATEGORIES(ID, NAME) VALUES ('-1', 'Pre-payment');
INSERT INTO LOCATIONS(ID, NAME,ADDRESS) VALUES('0', 'Main', NULL);
INSERT INTO CURRENCIES(ID, NAME, SYMBOL, DECIMALSEP, THOUSANDSSEP, RATE, FORMAT, MAIN) VALUES (0, 'Pound', '£', '.' , NULL, 1.0, '$#0.00', 1);
INSERT INTO CURRENCIES(ID, NAME, SYMBOL, DECIMALSEP, THOUSANDSSEP, RATE, FORMAT, MAIN) VALUES (1, 'Pound', '£', '.' , NULL, 1.0, '$#0.00', 1);
-- Taxes
INSERT INTO TAXCATEGORIES(ID, NAME) VALUES ('000', 'Zero VAT');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment