From 6934074c147813952b98d7dd77d7b4c32cc42011 Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Wed, 12 Jan 2022 11:17:44 +0530 Subject: [PATCH] Added: if condition to only show order label when order id is available(#1ye5r94) --- src/components/OrderItemCard.vue | 2 +- src/views/OrderDetail.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/OrderItemCard.vue b/src/components/OrderItemCard.vue index 6d6412995..0cd4f58a0 100644 --- a/src/components/OrderItemCard.vue +++ b/src/components/OrderItemCard.vue @@ -3,7 +3,7 @@

{{ order.customerName }}

-

{{ $t('Order') }}: {{ $filters.getOrderIdentificationId(order.orderIdentifications, orderIdentificationTypeId) }}

+

{{ $t('Order') }}: {{ $filters.getOrderIdentificationId(order.orderIdentifications, orderIdentificationTypeId) }}

{{ moment.utc(order.orderDate).fromNow() }} diff --git a/src/views/OrderDetail.vue b/src/views/OrderDetail.vue index ead1d2a29..014bcba59 100644 --- a/src/views/OrderDetail.vue +++ b/src/views/OrderDetail.vue @@ -11,7 +11,7 @@

{{ order.customerName }}

-

{{ $t('Order') }}: {{ $filters.getOrderIdentificationId(order.orderIdentifications, orderIdentificationTypeId) }}

+

{{ $t('Order') }}: {{ $filters.getOrderIdentificationId(order.orderIdentifications, orderIdentificationTypeId) }}

{{ moment.utc(order.orderDate).fromNow() }}