Discount fix
This commit is contained in:
parent
10f9ecc038
commit
057c6eb5e9
@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
<div class="d-flex align-items-center justify-content-end mt-4 mb-4 text-uppercase u-text-xl">
|
<div class="d-flex align-items-center justify-content-end mt-4 mb-4 text-uppercase u-text-xl">
|
||||||
<div>Total</div>
|
<div>Total</div>
|
||||||
<div class="ml-3">${{order.total | number:'.2-2'}}</div>
|
<div class="ml-3">${{ (order.discount ? ((order.total - order.discount) < 0 ? 0 : (order.total - order.discount)) : order.total) | number:'.2-2'}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<aside class="d-flex justify-content-end mt-5">
|
<aside class="d-flex justify-content-end mt-5">
|
||||||
|
@ -118,7 +118,7 @@
|
|||||||
|
|
||||||
<div class="divider d-flex align-items-center justify-content-end mb-4 pt-4 text-uppercase u-text-xl">
|
<div class="divider d-flex align-items-center justify-content-end mb-4 pt-4 text-uppercase u-text-xl">
|
||||||
<div>Total</div>
|
<div>Total</div>
|
||||||
<div class="ml-3">${{ order.total | number:'.2-2'}}</div>
|
<div class="ml-3">${{ (coupon?.discount ? ((order.total - coupon?.discount) < 0 ? 0 : (order.total - coupon?.discount)) : order.total) | number:'.2-2'}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="esh-orders_new-buttons d-flex justify-content-end align-items-center">
|
<div class="esh-orders_new-buttons d-flex justify-content-end align-items-center">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user