diff --git a/app/templates/components/orders/order-summary.hbs b/app/templates/components/orders/order-summary.hbs index bdf3ee5db02..322c635db3a 100644 --- a/app/templates/components/orders/order-summary.hbs +++ b/app/templates/components/orders/order-summary.hbs @@ -1,5 +1,5 @@
- {{#if (eq session.currentRouteName 'orders.view')}} + {{#if (and (eq session.currentRouteName 'orders.view') (not-eq data.status 'cancelled'))}}
@@ -38,7 +38,7 @@

{{t 'Order Summary'}}

- {{#if (or (eq session.currentRouteName 'orders.new') (eq session.currentRouteName 'orders.view') (eq session.currentRouteName 'orders.pending'))}} + {{#if (and (or (eq session.currentRouteName 'orders.new') (eq session.currentRouteName 'orders.view') (eq session.currentRouteName 'orders.pending')) (not-eq data.status 'cancelled'))}} @@ -158,3 +158,17 @@ {{/if}} +{{#if (and (eq session.currentRouteName 'orders.view') (eq data.status 'cancelled'))}} +
+
+
+ {{t 'Cancelled'}} +
+
+ {{t 'Your order has been cancelled due to some unavoidable circumstances.'}} +
+ {{t 'Please contact the event organizer for further details.'}} +
+
+
+{{/if}}