From af7720eb6505976ff23be208cc8812b87c3ec06b Mon Sep 17 00:00:00 2001 From: dMetzger Date: Tue, 13 Nov 2012 15:59:49 +0000 Subject: [PATCH] [-] BO : fixed form bug with voucher with a value < 1.00 #PSCFV-5523 --- .../default/template/controllers/cart_rules/actions.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin-dev/themes/default/template/controllers/cart_rules/actions.tpl b/admin-dev/themes/default/template/controllers/cart_rules/actions.tpl index bb505837c..4ee1ec5ce 100644 --- a/admin-dev/themes/default/template/controllers/cart_rules/actions.tpl +++ b/admin-dev/themes/default/template/controllers/cart_rules/actions.tpl @@ -11,13 +11,13 @@
   - getFieldValue($currentObject, 'reduction_percent')|intval}checked="checked"{/if} /> + getFieldValue($currentObject, 'reduction_percent')|floatval > 0}checked="checked"{/if} />    - getFieldValue($currentObject, 'reduction_amount')|intval}checked="checked"{/if} /> + getFieldValue($currentObject, 'reduction_amount')|floatval > 0}checked="checked"{/if} />    - getFieldValue($currentObject, 'reduction_amount')|intval && !$currentTab->getFieldValue($currentObject, 'reduction_percent')|intval}checked="checked"{/if} /> + getFieldValue($currentObject, 'reduction_amount')|floatval > 0 && !$currentTab->getFieldValue($currentObject, 'reduction_percent')|floatval > 0}checked="checked"{/if} />