This commit is contained in:
rahulshukla-home 2020-07-10 10:38:44 +05:30
parent 33d3e52469
commit 896356ec9b
2 changed files with 8 additions and 1 deletions

View File

@ -158,7 +158,11 @@
@if ($order->base_discount_amount > 0)
<tr>
<td>{{ __('shop::app.customer.account.order.view.discount') }}</td>
<td>{{ __('shop::app.customer.account.order.view.discount') }}
@if ($order->coupon_code)
({{ $order->coupon_code }})
@endif
</td>
<td>-</td>
<td>{{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}</td>
</tr>

View File

@ -167,6 +167,9 @@
@if ($order->base_discount_amount > 0)
<tr>
<td>{{ __('shop::app.customer.account.order.view.discount') }}
@if ($order->coupon_code)
({{ $order->coupon_code }})
@endif
<span class="dash-icon">-</span>
</td>
<td>{{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}</td>