Skip to content

Commit

Permalink
add payment currency
Browse files Browse the repository at this point in the history
  • Loading branch information
maze-runnar committed Aug 8, 2021
1 parent c843d1a commit d53fff3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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>

0 comments on commit d53fff3

Please sign in to comment.