Skip to content

Commit 387affa

Browse files
Anupam-dagarabhinavk96
authored andcommitted
Fix: discount code being rounded off for percent discounts. (#3430)
* Fix: discount code being rounded off for percent discounts. Fixes: #3417 * Fix: rounded off amount value for discount code. Reference: #3417
1 parent 788eb6e commit 387affa

File tree

1 file changed

+2
-2
lines changed
  • app/templates/components/ui-table/cell/events/view/tickets/discount-codes

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<span>
22
{{#if (eq extraRecords.type 'percent')}}
3-
{{format-number record}}{{t '%'}}
3+
{{record}}{{t '%'}}
44
{{else if (eq extraRecords.type 'amount')}}
5-
{{t currency-symbol extraRecords.event.paymentCurrency }}{{format-number record}}
5+
{{t currency-symbol extraRecords.event.paymentCurrency }}{{record}}
66
{{/if}}
77
</span>

0 commit comments

Comments
 (0)