diff --git a/src/pages/master/sparepart/component/SparepartCardList.jsx b/src/pages/master/sparepart/component/SparepartCardList.jsx
index 663d548..b635b5d 100644
--- a/src/pages/master/sparepart/component/SparepartCardList.jsx
+++ b/src/pages/master/sparepart/component/SparepartCardList.jsx
@@ -298,7 +298,6 @@ const SparepartCardList = ({
>
{item[header]}
- Qty: {item.sparepart_qty || 0}
Stok: {item.sparepart_stok || 'Not Available'}
@@ -309,9 +308,9 @@ const SparepartCardList = ({
style={{
marginBottom: '8px',
display: 'flex',
- justifyContent: 'center',
}}
>
+ Qty
}
onClick={() =>
@@ -327,7 +326,7 @@ const SparepartCardList = ({
strong
style={{ padding: '0 8px', fontSize: '16px' }}
>
- {quantity}
+ {item.sparepart_qty + (quantity || 0)}
}
@@ -347,15 +346,17 @@ const SparepartCardList = ({
-
+ {quantity !== 0 && (
+
+ )}