From bd65a11a9f6ed0589ccdf86745abbf12b17816e9 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Tue, 4 Apr 2023 17:00:51 +0700
Subject: forgot password

---
 src/lib/checkout/components/Checkout.jsx | 34 ++++++--------------------------
 1 file changed, 6 insertions(+), 28 deletions(-)

(limited to 'src/lib/checkout/components/Checkout.jsx')

diff --git a/src/lib/checkout/components/Checkout.jsx b/src/lib/checkout/components/Checkout.jsx
index 71f47a30..c9e0556b 100644
--- a/src/lib/checkout/components/Checkout.jsx
+++ b/src/lib/checkout/components/Checkout.jsx
@@ -161,11 +161,7 @@ const Checkout = () => {
 
         <Divider />
 
-        <SectionAddress
-          label='Alamat Pengiriman'
-          url='/my/address?select=shipping'
-          address={selectedAddress.shipping}
-        />
+        <PickupAddress label='Alamat Pickup' />
 
         <Divider />
 
@@ -195,7 +191,7 @@ const Checkout = () => {
               <div>{currencyFormat(totalAmount - totalDiscountAmount)}</div>
             </div>
             <div className='flex gap-x-2 justify-between'>
-              <div className='text-gray_r-11'>PPN 11% (Incl.)</div>
+              <div className='text-gray_r-11'>PPN 11%</div>
               <div>{currencyFormat(taxTotal)}</div>
             </div>
           </div>
@@ -218,14 +214,6 @@ const Checkout = () => {
 
         <Divider />
 
-        <SectionAddress
-          label='Alamat Penagihan'
-          url='/my/address?select=invoicing'
-          address={selectedAddress.invoicing}
-        />
-
-        <Divider />
-
         <div className='p-4'>
           <div className='font-medium'>Purchase Order</div>
 
@@ -263,14 +251,6 @@ const Checkout = () => {
       <DesktopView>
         <div className='container mx-auto py-10 flex'>
           <div className='w-3/4 border border-gray_r-6 rounded bg-white'>
-            {/* <SectionAddress
-              label='Alamat Pengiriman'
-              url='/my/address?select=shipping'
-              address={selectedAddress.shipping}
-            /> */}
-
-            <Divider />
-
             <PickupAddress label='Alamat Pickup' />
 
             <Divider />
@@ -454,18 +434,16 @@ const SectionAddress = ({ address, label, url }) => (
     )}
   </div>
 )
-const PickupAddress = ({ address, label, url }) => (
+const PickupAddress = ({ label }) => (
   <div className='p-4'>
     <div className='flex justify-between items-center'>
       <div className='font-medium'>{label}</div>
     </div>
     <div className='mt-4 text-caption-1'>
       <p className='font-medium'>Indoteknik</p>
-      <p className='mt-2 text-gray_r-11'>
-        Jl. Bandengan Utara Raya No.85, RT.3/RW.16, Penjaringan, Kec. Penjaringan,
-      </p>
-      <p className='mt-1 text-gray_r-11'>
-        Kota Jkt Utara, Daerah Khusus Ibukota Jakarta, Indonesia Kodepos : 14440
+      <p className='mt-2 mb-2 text-gray_r-11 leading-6'>
+        Jl. Bandengan Utara Raya No.85, RT.3/RW.16, Penjaringan, Kec. Penjaringan, Kota Jkt Utara,
+        Daerah Khusus Ibukota Jakarta, Indonesia Kodepos : 14440
       </p>
       <p className='mt-1 text-gray_r-11'>Telp : 021-2933 8828/29</p>
       <p className='mt-1 text-gray_r-11'>Mobile : 0813 9000 7430</p>
-- 
cgit v1.2.3

