diff --git a/admin-dev/themes/template/helper/list/list_content.tpl b/admin-dev/themes/template/helper/list/list_content.tpl index 15a0db5dc..55364410c 100644 --- a/admin-dev/themes/template/helper/list/list_content.tpl +++ b/admin-dev/themes/template/helper/list/list_content.tpl @@ -89,8 +89,8 @@ {$tr.$key} {elseif isset($params.type) && $params.type == 'datetime'} {$tr.$key} - {elseif isset($params.type) && $params.type == 'percent'} - {$tr.$key|string_format:"%.2f"} {l s='%'} + {elseif isset($params.type) && $params.type == 'decimal'} + {$tr.$key|string_format:"%.2f"} {* If type is 'editable', an input is created *} {elseif isset($params.type) && $params.type == 'editable' && isset($tr.id)} diff --git a/controllers/admin/AdminSpecificPriceRuleController.php b/controllers/admin/AdminSpecificPriceRuleController.php index 645b79d8a..b5fc1c37b 100755 --- a/controllers/admin/AdminSpecificPriceRuleController.php +++ b/controllers/admin/AdminSpecificPriceRuleController.php @@ -92,7 +92,7 @@ class AdminSpecificPriceRuleController extends AdminController 'reduction' => array( 'title' => $this->l('Reduction'), 'align' => 'center', - 'type' => 'percent' + 'type' => 'decimal' ), 'from' => array( 'title' => $this->l('From'),