// Fixed #PSTEST-496

This commit is contained in:
bMancone
2012-01-16 16:23:16 +00:00
parent 5d932788f7
commit cdcf5f7265
2 changed files with 14 additions and 6 deletions
+6 -6
View File
@@ -1614,11 +1614,11 @@ INSERT INTO `PREFIX_supply_order_state_lang` (`id_supply_order_state`, `id_lang`
(5, 3, 'Order received completely'), (5, 3, 'Order received completely'),
(5, 4, 'Order received completely'), (5, 4, 'Order received completely'),
(5, 5, 'Order received completely'), (5, 5, 'Order received completely'),
(6, 1, 'order fenced'), (6, 1, 'order canceled'),
(6, 2, 'Commande cloturée'), (6, 2, 'Commande annulée'),
(6, 3, 'order fenced'), (6, 3, 'order canceled'),
(6, 4, 'order fenced'), (6, 4, 'order canceled'),
(6, 5, 'order fenced'); (6, 5, 'order canceled');
INSERT INTO `PREFIX_risk` (`id_risk`, `percent`, `color`) VALUES INSERT INTO `PREFIX_risk` (`id_risk`, `percent`, `color`) VALUES
(1, 0, 'LimeGreen'), (1, 0, 'LimeGreen'),
@@ -1649,4 +1649,4 @@ INSERT INTO `PREFIX_risk_lang` (`id_risk`, `id_lang`, `name`) VALUES
(4, 5, 'Hight'); (4, 5, 'Hight');
INSERT INTO `PREFIX_category_shop` (`id_category`, `id_shop`) VALUES INSERT INTO `PREFIX_category_shop` (`id_category`, `id_shop`) VALUES
(1, 1); (1, 1);
+8
View File
@@ -11,3 +11,11 @@ ALTER TABLE `PREFIX_image_type` DROP `id_theme`;
ALTER TABLE `PREFIX_specific_price_rule_condition` CHANGE `id_specific_price_rule_condition` `id_specific_price_rule_condition` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT; ALTER TABLE `PREFIX_specific_price_rule_condition` CHANGE `id_specific_price_rule_condition` `id_specific_price_rule_condition` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT;
ALTER TABLE `PREFIX_specific_price_rule_condition_group` CHANGE `id_specific_price_rule_condition_group` `id_specific_price_rule_condition_group` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT; ALTER TABLE `PREFIX_specific_price_rule_condition_group` CHANGE `id_specific_price_rule_condition_group` `id_specific_price_rule_condition_group` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT;
UPDATE `PREFIX_supply_order_state_lang`
SET `name` = "order canceled"
WHERE `name` = "order fenced" AND (`id_lang` = 1 OR `id_lang` = 3 OR `id_lang` = 4 OR `id_lang` = 5);
UPDATE `PREFIX_supply_order_state_lang`
SET `name` = "Commande cloturée"
WHERE `name` = "order fenced" AND id_lang = 2;