From f15a7f8a4387d215abd1051ee520adca8944fa05 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Tue, 28 Mar 2023 16:32:45 +0700
Subject: checkout, quotation

---
 src/lib/transaction/components/Transaction.jsx | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

(limited to 'src/lib/transaction/components/Transaction.jsx')

diff --git a/src/lib/transaction/components/Transaction.jsx b/src/lib/transaction/components/Transaction.jsx
index b921eb0d..669966da 100644
--- a/src/lib/transaction/components/Transaction.jsx
+++ b/src/lib/transaction/components/Transaction.jsx
@@ -103,14 +103,14 @@ const Transaction = ({ id }) => {
           <p className='text-gray_r-12/70'>Total Diskon</p>
           <p>{currencyFormat(-totalDiscountAmount)}</p>
         </div>
-        <div className='flex justify-between mt-1'>
-          <p className='text-gray_r-12/70'>PPN 11% (Incl.)</p>
-          <p>{currencyFormat(totalAmount * 0.11)}</p>
-        </div>
         <div className='flex justify-between mt-1 font-medium'>
           <p>Total Belanja</p>
           <p>{currencyFormat(transaction.data?.amountTotal)}</p>
         </div>
+        <div className='flex justify-between mt-1'>
+          <p className='text-gray_r-12/70'>PPN 11% (Incl.)</p>
+          <p>{currencyFormat(totalAmount * 0.11)}</p>
+        </div>
       </div>
     ),
     [transaction.data, totalAmount, totalDiscountAmount]
@@ -414,13 +414,13 @@ const Transaction = ({ id }) => {
                     {currencyFormat(-totalDiscountAmount)}
                   </div>
 
-                  <div className='text-right'>PPN 11% (Incl.)</div>
-                  <div className='text-right font-medium'>{currencyFormat(totalAmount * 0.11)}</div>
-
                   <div className='text-right'>Grand Total</div>
                   <div className='text-right font-medium text-gray_r-12'>
                     {currencyFormat(transaction.data?.amountTotal)}
                   </div>
+
+                  <div className='text-right'>PPN 11% (Incl.)</div>
+                  <div className='text-right font-medium'>{currencyFormat(totalAmount * 0.11)}</div>
                 </div>
               </div>
 
-- 
cgit v1.2.3

