/* Modif du libellé de la règle de taxe */
UPDATE tax_rule_i18n SET title='TVA applicable' WHERE locale='fr_FR' AND id=(SELECT id FROM tax_rule WHERE is_default=1);
UPDATE tax_rule_i18n SET title='Applicable VAT' WHERE locale='en_US' AND id=(SELECT id FROM tax_rule WHERE is_default=1);


/* Tranches de prix pour le module ColissimoWs */
INSERT INTO beaheadfwhsofian.colissimows_price_slices (area_id,max_weight,max_price,shipping,franco_min_price) VALUES
(1,0.25,NULL,4.94999981,NULL)
,(1,0.5,NULL,6.3499999,NULL)
,(1,0.75,NULL,7.25,NULL)
,(1,1,NULL,7.94999981,NULL)
,(1,2,NULL,8.94999981,NULL)
,(1,5,NULL,13.75,NULL)
,(1,10,NULL,20.04999924,NULL)
,(1,30,NULL,28.54999924,NULL)
,(6,0.5,NULL,9.60000038,NULL)
,(6,1,NULL,14.60000038,NULL)
;
INSERT INTO beaheadfwhsofian.colissimows_price_slices (area_id,max_weight,max_price,shipping,franco_min_price) VALUES
(6,2,NULL,19.89999962,NULL)
,(6,5,NULL,29.89999962,NULL)
,(6,10,NULL,47.90000153,NULL)
,(6,30,NULL,106.90000153,NULL)
,(7,0.5,NULL,11.64999962,NULL)
,(7,1,NULL,17.45000076,NULL)
,(7,2,NULL,30.60000038,NULL)
,(7,5,NULL,51.5,NULL)
,(7,10,NULL,100.5,NULL)
,(7,30,NULL,245.5,NULL)
;
INSERT INTO beaheadfwhsofian.colissimows_price_slices (area_id,max_weight,max_price,shipping,franco_min_price) VALUES
(2,0.5,NULL,12.55000019,NULL)
,(2,1,NULL,15.5,NULL)
,(2,2,NULL,17.54999924,NULL)
,(2,5,NULL,22.45000076,NULL)
,(2,10,NULL,37,NULL)
,(2,30,NULL,61.5,NULL)
,(3,0.5,NULL,17,NULL)
,(3,1,NULL,20.29999924,NULL)
,(3,2,NULL,22.20000076,NULL)
,(3,5,NULL,28.5,NULL)
;
INSERT INTO beaheadfwhsofian.colissimows_price_slices (area_id,max_weight,max_price,shipping,franco_min_price) VALUES
(3,10,NULL,47.20000076,NULL)
,(3,30,NULL,73.59999847,NULL)
,(4,0.5,NULL,24.85000038,NULL)
,(4,1,NULL,27.64999962,NULL)
,(4,2,NULL,38,NULL)
,(4,5,NULL,55.65000153,NULL)
,(4,10,NULL,105.30000305,NULL)
,(4,30,NULL,168,NULL)
,(5,0.5,NULL,24.85000038,NULL)
,(5,1,NULL,27.64999962,NULL)
;
INSERT INTO beaheadfwhsofian.colissimows_price_slices (area_id,max_weight,max_price,shipping,franco_min_price) VALUES
(5,2,NULL,38,NULL)
,(5,5,NULL,55.65000153,NULL)
,(5,10,NULL,105.30000305,NULL)
,(5,30,NULL,168,NULL)
;


/* Config du module ColissimoLabel */
INSERT INTO module_config_i18n (id, locale, value) (SELECT mc.id, 'en_US', '296687' FROM module_config mc WHERE mc.module_id = (SELECT id FROM `module` WHERE code='ColissimoLabel') AND name='contract-number');
INSERT INTO module_config_i18n (id, locale, value) (SELECT mc.id, 'en_US', 'Cerbonnus34' FROM module_config mc WHERE mc.module_id = (SELECT id FROM `module` WHERE code='ColissimoLabel') AND name='password');
