summaryrefslogtreecommitdiff
path: root/src/lib/checkout/components/Checkout.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/checkout/components/Checkout.jsx')
-rw-r--r--src/lib/checkout/components/Checkout.jsx10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/checkout/components/Checkout.jsx b/src/lib/checkout/components/Checkout.jsx
index 0eaab020..b30f7e43 100644
--- a/src/lib/checkout/components/Checkout.jsx
+++ b/src/lib/checkout/components/Checkout.jsx
@@ -271,6 +271,10 @@ const Checkout = () => {
<div className='text-danger-500'>- {currencyFormat(cartCheckout?.totalDiscount)}</div>
</div>
<div className='flex gap-x-2 justify-between'>
+ <div className='text-gray_r-11'>Total Hemat</div>
+ <div className='text-danger-500'>- {currencyFormat(cartCheckout?.totalSavings)}</div>
+ </div>
+ <div className='flex gap-x-2 justify-between'>
<div className='text-gray_r-11'>Subtotal</div>
<div>{currencyFormat(cartCheckout?.subtotal)}</div>
</div>
@@ -550,6 +554,12 @@ const Checkout = () => {
</div>
</div>
<div className='flex gap-x-2 justify-between'>
+ <div className='text-gray_r-11'>Total Hemat</div>
+ <div className='text-danger-500'>
+ - {currencyFormat(cartCheckout?.totalSavings)}
+ </div>
+ </div>
+ <div className='flex gap-x-2 justify-between'>
<div className='text-gray_r-11'>Subtotal</div>
<div>{currencyFormat(cartCheckout?.subtotal)}</div>
</div>