Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: formatting localized currency #7662

Merged
merged 10 commits into from Aug 10, 2021
2 changes: 1 addition & 1 deletion app/templates/components/modals/paytm-otp.hbs
@@ -1,5 +1,5 @@
<div class="header">
{{t 'Amount to be paid:'}} {{currency-symbol this.currency}} {{amount}}
{{t 'Amount to be paid:'}} <CurrencyAmount @currency={{this.currency}} @amount={{amount}}/>
</div>

<div class="content">
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/modals/paytm-payment-options.hbs
@@ -1,5 +1,5 @@
<div class="header">
{{t 'Amount to be paid:'}} {{currency-symbol this.currency}} {{amount}}
{{t 'Amount to be paid:'}} <CurrencyAmount @currency={{this.currency}} @amount={{amount}}/>
</div>

<div class="content">
Expand Down
Expand Up @@ -2,6 +2,6 @@
{{#if (eq this.extraRecords.type 'percent')}}
{{this.record}} %
{{else if (eq this.extraRecords.type 'amount')}}
{{currency-symbol this.extraRecords.event.paymentCurrency}} {{this.record}}
<CurrencyAmount @currency={{this.extraRecords.event.paymentCurrency}} @amount={{this.record}}/>
{{/if}}
</span>