summaryrefslogtreecommitdiff
path: root/src-migrate
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-08-14 17:01:44 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-08-14 17:01:44 +0700
commit08e5b76ba58645929ddeda1830f85f3eaf43969e (patch)
tree6ffd20e9c8cedb454bbd367b0077d4a0fd082816 /src-migrate
parent62704c101d17afb7f71389ef23d6183b2cd16dfa (diff)
<iman> update pickup service logic
Diffstat (limited to 'src-migrate')
-rw-r--r--src-migrate/modules/cart/components/Item.tsx2
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>