summaryrefslogtreecommitdiff
path: root/src-migrate/modules
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-08-14 15:11:33 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-08-14 15:11:33 +0700
commit62704c101d17afb7f71389ef23d6183b2cd16dfa (patch)
tree7b990c01e1e5d57df92a0dbe330be1600ffdf912 /src-migrate/modules
parenta72f9273664715e9708523ca1a6a4554bd22c917 (diff)
<iman> update self picking di product card
Diffstat (limited to 'src-migrate/modules')
-rw-r--r--src-migrate/modules/cart/components/Item.tsx6
1 files changed, 5 insertions, 1 deletions
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'>