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/invoice/components/Invoice.jsx | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

(limited to 'src/lib/invoice/components/Invoice.jsx')

diff --git a/src/lib/invoice/components/Invoice.jsx b/src/lib/invoice/components/Invoice.jsx
index 211d1ae1..6012e4ea 100644
--- a/src/lib/invoice/components/Invoice.jsx
+++ b/src/lib/invoice/components/Invoice.jsx
@@ -152,9 +152,7 @@ const Invoice = ({ id }) => {
                   <div>: {invoice?.data?.invoiceDate}</div>
 
                   <div>Purchase Order</div>
-                  <div>
-                    : {invoice?.data?.purchaseOrderName || '-'}
-                  </div>
+                  <div>: {invoice?.data?.purchaseOrderName || '-'}</div>
 
                   <div>Ketentuan Pembayaran</div>
                   <div>: {invoice?.data?.paymentTerm}</div>
@@ -252,13 +250,13 @@ const Invoice = ({ 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(invoice.data?.amountTotal)}
                   </div>
+                  
+                  <div className='text-right'>PPN 11% (Incl.)</div>
+                  <div className='text-right font-medium'>{currencyFormat(totalAmount * 0.11)}</div>
                 </div>
               </div>
             </div>
-- 
cgit v1.2.3

