From 896356ec9b2d003efaab9e95c2b3fbb57b1632f7 Mon Sep 17 00:00:00 2001 From: rahulshukla-home Date: Fri, 10 Jul 2020 10:38:44 +0530 Subject: [PATCH] Issue #3459 fixed --- .../Resources/views/customers/account/orders/view.blade.php | 6 +++++- .../views/shop/customers/account/orders/view.blade.php | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/Webkul/Shop/src/Resources/views/customers/account/orders/view.blade.php b/packages/Webkul/Shop/src/Resources/views/customers/account/orders/view.blade.php index 4a862cd3a..a2a247a96 100755 --- a/packages/Webkul/Shop/src/Resources/views/customers/account/orders/view.blade.php +++ b/packages/Webkul/Shop/src/Resources/views/customers/account/orders/view.blade.php @@ -158,7 +158,11 @@ @if ($order->base_discount_amount > 0) - {{ __('shop::app.customer.account.order.view.discount') }} + {{ __('shop::app.customer.account.order.view.discount') }} + @if ($order->coupon_code) + ({{ $order->coupon_code }}) + @endif + - {{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }} diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/orders/view.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/orders/view.blade.php index 51c51e3a2..705085672 100644 --- a/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/orders/view.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/orders/view.blade.php @@ -167,6 +167,9 @@ @if ($order->base_discount_amount > 0) {{ __('shop::app.customer.account.order.view.discount') }} + @if ($order->coupon_code) + ({{ $order->coupon_code }}) + @endif - {{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}