diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-22 13:34:59 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-22 13:34:59 +0700 |
| commit | 92ab4f77d4b31e606838921170a16cbdc0caf4d4 (patch) | |
| tree | 48fc2de3e64b1563de4185957ee465f3c7199386 /src-migrate/modules | |
| parent | 6dafc3c06566646bdf23ab1da271e337b131ccd9 (diff) | |
<iman> update logic self pickup
Diffstat (limited to 'src-migrate/modules')
| -rw-r--r-- | src-migrate/modules/cart/components/Item.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src-migrate/modules/cart/components/Item.tsx b/src-migrate/modules/cart/components/Item.tsx index a54d4648..6ffbb524 100644 --- a/src-migrate/modules/cart/components/Item.tsx +++ b/src-migrate/modules/cart/components/Item.tsx @@ -53,8 +53,7 @@ const CartItem = ({ item, editable = true, selfPicking}: Props) => { <CartItem.Image item={item} /> <div className={style.details}> - {/* disini */} - {selfPicking && (item.is_in_bu) && (item.on_hand_qty >= item.quantity) && ( + {(item.is_in_bu) && (item.on_hand_qty >= item.quantity) && ( <div className='text-[10px] text-red-500 italic'> *Barang ini bisa di pickup maksimal pukul 16.00 </div> |
