summaryrefslogtreecommitdiff
path: root/src/lib/checkout/components/Checkout.jsx
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-08-23 06:28:03 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-08-23 06:28:03 +0000
commita6be7fe1690ce5ad4479e9ff4bc4aa795316eacf (patch)
treefb0974e6f605069466633d7ccc51c640f6c31e35 /src/lib/checkout/components/Checkout.jsx
parent8c64624326a18ecdd2de25731b2f579ea4d2b00d (diff)
parent6111e1115ffba4ef336dfb763b3fd23e52b6668b (diff)
Merged in Feature/pickup-service (pull request #262)
Feature/pickup service
Diffstat (limited to 'src/lib/checkout/components/Checkout.jsx')
-rw-r--r--src/lib/checkout/components/Checkout.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/checkout/components/Checkout.jsx b/src/lib/checkout/components/Checkout.jsx
index 09a791ee..6deba693 100644
--- a/src/lib/checkout/components/Checkout.jsx
+++ b/src/lib/checkout/components/Checkout.jsx
@@ -1004,7 +1004,7 @@ const Checkout = () => {
<div className='p-4 flex flex-col gap-y-4'>
{!!products &&
snakecaseKeys(products).map((item, index) => (
- <CartItem key={index} item={item} editable={false} />
+ <CartItem key={index} item={item} editable={false} selfPicking={selectedExpedisi === '1,32' ? true : false}/>
))}
</div>
@@ -1295,7 +1295,7 @@ const Checkout = () => {
<div className='flex flex-col gap-y-8 border-t border-gray-300 pt-8'>
{!!products &&
snakecaseKeys(products).map((item, index) => (
- <CartItem key={index} item={item} editable={false} />
+ <CartItem key={index} item={item} editable={false} selfPicking={selectedExpedisi === '1,32' ? true : false} />
))}
</div>
</div>