From 62704c101d17afb7f71389ef23d6183b2cd16dfa Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Wed, 14 Aug 2024 15:11:33 +0700
Subject: <iman> update self picking di product card

---
 src-migrate/modules/cart/components/Item.tsx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'src-migrate/modules/cart/components/Item.tsx')

diff --git a/src-migrate/modules/cart/components/Item.tsx b/src-migrate/modules/cart/components/Item.tsx
index 25df62fe..ce4c5bff 100644
--- a/src-migrate/modules/cart/components/Item.tsx
+++ b/src-migrate/modules/cart/components/Item.tsx
@@ -54,7 +54,11 @@ const CartItem = ({ item, editable = true, selfPicking}: Props) => {
 
         <div className={style.details}>
           {/* disini  */}
-          {/* {selfPicking && (item.is_in_bu) && (item.on_hand_qty > item.quantity)} */}
+          {selfPicking && (item.is_in_bu) && (item.on_hand_qty > item.quantity) && (
+            <div className='text-xs text-red-500'>
+              Barang ini bisa di pickup maksimal pukul 16.00
+            </div>
+          )}
           <CartItem.Name item={item} />
 
           <div className='mt-2 flex justify-between w-full'>
-- 
cgit v1.2.3

