diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-15 11:27:35 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-15 11:27:35 +0700 |
| commit | ad82ceb618565eec7b1e955c8ba12243d26253f1 (patch) | |
| tree | 694c450852475dfae50f0e00ad32242179b96556 /src-migrate/modules/cart/components | |
| parent | 08e5b76ba58645929ddeda1830f85f3eaf43969e (diff) | |
<iman> update view
Diffstat (limited to 'src-migrate/modules/cart/components')
| -rw-r--r-- | src-migrate/modules/cart/components/Item.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src-migrate/modules/cart/components/Item.tsx b/src-migrate/modules/cart/components/Item.tsx index 272fa622..a9b2d968 100644 --- a/src-migrate/modules/cart/components/Item.tsx +++ b/src-migrate/modules/cart/components/Item.tsx @@ -22,6 +22,8 @@ type Props = { } const CartItem = ({ item, editable = true, selfPicking}: Props) => { + console.log("item",item) + console.log("selfPicking",selfPicking) return ( <div className={style.wrapper}> {item.cart_type === 'promotion' && ( @@ -55,8 +57,8 @@ const CartItem = ({ item, editable = true, selfPicking}: Props) => { <div className={style.details}> {/* disini */} {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 className='text-[10px] text-red-500 italic'> + *Barang ini bisa di pickup maksimal pukul 16.00 </div> )} <CartItem.Name item={item} /> |
