Skip to content

Instantly share code, notes, and snippets.

@VladislavBespalov
Created November 1, 2021 09:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VladislavBespalov/b65344ab99bd7e6e77680ce56ad5a849 to your computer and use it in GitHub Desktop.
Save VladislavBespalov/b65344ab99bd7e6e77680ce56ad5a849 to your computer and use it in GitHub Desktop.
diff --git a/design/backend/templates/addons/gift_certificates/views/gift_certificates/update.tpl b/design/backend/templates/addons/gift_certificates/views/gift_certificates/update.tpl
index f73113ef1c..50480847e5 100644
--- a/design/backend/templates/addons/gift_certificates/views/gift_certificates/update.tpl
+++ b/design/backend/templates/addons/gift_certificates/views/gift_certificates/update.tpl
@@ -130,7 +130,7 @@ Tygh.tr('text_gift_cert_amount_alert', '{$text_gift_cert_amount_alert|escape:ja
name="gift_cert_data[amount]"
class="valign input-text-short inp-el cm-numeric"
data-p-sign="s"
- data-a-sep="{$currencies.$primary_currency.thousands_separator}"
+ data-a-sep="{$currencies.$primary_currency.thousands_separator nofilter}"
{if $currencies.$primary_currency.decimals_separator == ""}
data-m-dec="0"
{else}
@@ -138,9 +138,9 @@ Tygh.tr('text_gift_cert_amount_alert', '{$text_gift_cert_amount_alert|escape:ja
{/if}
size="5"
{if $gift_cert_data}
- value="{$gift_cert_data.amount|fn_format_rate_value:"":$currencies.$primary_currency.decimals:$currencies.$primary_currency.decimals_separator:$currencies.$primary_currency.thousands_separator:$currencies.$primary_currency.coefficient}"
+ value="{$gift_cert_data.amount|fn_format_rate_value:"":$currencies.$primary_currency.decimals:$currencies.$primary_currency.decimals_separator:$currencies.$primary_currency.thousands_separator:$currencies.$primary_currency.coefficient nofilter}"
{else}
- value="{$addons.gift_certificates.min_amount|fn_format_rate_value:"":$currencies.$primary_currency.decimals:$currencies.$primary_currency.decimals_separator:$currencies.$primary_currency.thousands_separator:$currencies.$primary_currency.coefficient}"
+ value="{$addons.gift_certificates.min_amount|fn_format_rate_value:"":$currencies.$primary_currency.decimals:$currencies.$primary_currency.decimals_separator:$currencies.$primary_currency.thousands_separator:$currencies.$primary_currency.coefficient nofilter}"
{/if}
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment