diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-14 17:01:44 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-14 17:01:44 +0700 |
| commit | 08e5b76ba58645929ddeda1830f85f3eaf43969e (patch) | |
| tree | 6ffd20e9c8cedb454bbd367b0077d4a0fd082816 | |
| parent | 62704c101d17afb7f71389ef23d6183b2cd16dfa (diff) | |
<iman> update pickup service logic
| -rw-r--r-- | src-migrate/modules/cart/components/Item.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-migrate/modules/cart/components/Item.tsx b/src-migrate/modules/cart/components/Item.tsx index ce4c5bff..272fa622 100644 --- a/src-migrate/modules/cart/components/Item.tsx +++ b/src-migrate/modules/cart/components/Item.tsx @@ -54,7 +54,7 @@ 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> |
