diff --git a/admin-dev/themes/default/template/controllers/groups/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/groups/helpers/form/form.tpl index 242ea2e22..d73c9cc69 100644 --- a/admin-dev/themes/default/template/controllers/groups/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/groups/helpers/form/form.tpl @@ -138,7 +138,7 @@ } else { - $('#group_discount_category_table').append(''+jsonData.catPath+'{l s='Discount:'}'+jsonData.discount+'{l s='%'}'); + $('#group_discount_category_table').append(''+jsonData.catPath+'{l s='Discount:'}' + ' ' + jsonData.discount+'{l s='%'}'); var input_hidden = document.createElement("input"); input_hidden.setAttribute('type', 'hidden'); @@ -168,7 +168,7 @@ {foreach $input['values'] key=key item=category } {$category.path} - {l s='Discount: %d%%' sprintf=$category.reduction} + {l s='Discount: %.2f%%' sprintf=$category.reduction} diff --git a/admin-dev/themes/default/template/controllers/groups/helpers/view/view.tpl b/admin-dev/themes/default/template/controllers/groups/helpers/view/view.tpl index 96908c212..6762c700c 100755 --- a/admin-dev/themes/default/template/controllers/groups/helpers/view/view.tpl +++ b/admin-dev/themes/default/template/controllers/groups/helpers/view/view.tpl @@ -30,7 +30,7 @@