diff options
Diffstat (limited to 'src/app/api/stock-opname')
| -rw-r--r-- | src/app/api/stock-opname/route.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app/api/stock-opname/route.tsx b/src/app/api/stock-opname/route.tsx index 38284bf..154ed14 100644 --- a/src/app/api/stock-opname/route.tsx +++ b/src/app/api/stock-opname/route.tsx @@ -202,9 +202,9 @@ const computeIsDifferent = async ({ const detailCondition = { verificationCheckAll: _.isNumber(VERIFICATION.quantity), - count1EqWithCount2: COUNT1.quantity !== null && COUNT2.quantity !== null && COUNT1.quantity === COUNT2.quantity, - count1EqWithCount3: COUNT1.quantity !== null && COUNT3.quantity !== null && COUNT1.quantity === COUNT3.quantity, - count2EqWithCount3: COUNT2.quantity !== null && COUNT3.quantity !== null && COUNT2.quantity === COUNT3.quantity, + count1EqWithCount2: COUNT1.quantity === COUNT2.quantity, + count1EqWithCount3: COUNT1.quantity === COUNT3.quantity, + count2EqWithCount3: COUNT2.quantity === COUNT3.quantity, } isDifferent = !( |
