From f766fc4e05f327c94f1ad3b561adf3e22d981e50 Mon Sep 17 00:00:00 2001 From: Sundaram Dubey <56407566+maze-runnar@users.noreply.github.com> Date: Wed, 18 Nov 2020 21:52:59 +0530 Subject: [PATCH] fix: ticket sales value (#5686) --- app/templates/events/view/tickets/index.hbs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/templates/events/view/tickets/index.hbs b/app/templates/events/view/tickets/index.hbs index 928ef82b4fd..848be3f3b83 100644 --- a/app/templates/events/view/tickets/index.hbs +++ b/app/templates/events/view/tickets/index.hbs @@ -4,7 +4,7 @@
{{this.totalOrders}}
{{t 'Orders'}}
-
{{this.totalAmount}}
{{t 'Sales'}}{{#if this.totalAmount}}({{currency-symbol this.model.eventDetail.paymentCurrency}}){{/if}}
+
{{round this.totalAmount decimals=2}}
{{t 'Sales'}}{{#if this.totalAmount}}({{currency-symbol this.model.eventDetail.paymentCurrency}}){{/if}}
{{this.totalSales}}
{{t 'Tickets sold'}}
@@ -31,7 +31,7 @@ {{this.model.orderStats.tickets.cancelled}} {{this.model.orderStats.orders.cancelled}} - {{this.model.orderStats.sales.cancelled}} + {{round this.model.orderStats.sales.cancelled decimals=2}} {{t 'View orders'}} @@ -48,7 +48,7 @@ {{this.model.orderStats.tickets.pending}} {{this.model.orderStats.orders.pending}} - {{this.model.orderStats.sales.pending}} + {{round this.model.orderStats.sales.pending decimals=2}} {{t 'View orders'}} @@ -65,7 +65,7 @@ {{this.model.orderStats.tickets.expired}} {{this.model.orderStats.orders.expired}} - {{this.model.orderStats.sales.expired}} + {{round this.model.orderStats.sales.expired decimals=2}} {{t 'View orders'}} @@ -82,7 +82,7 @@ {{this.model.orderStats.tickets.placed}} {{this.model.orderStats.orders.placed}} - {{this.model.orderStats.sales.placed}} + {{round this.model.orderStats.sales.placed decimals=2}} {{t 'View orders'}} @@ -99,7 +99,7 @@ {{this.model.orderStats.tickets.completed}} {{this.model.orderStats.orders.completed}} - {{this.model.orderStats.sales.completed}} + {{round this.model.orderStats.sales.completed decimals=2}} {{t 'View orders'}}