From d556d259b4cc8a702c4095bfb4575ac5f4412773 Mon Sep 17 00:00:00 2001 From: amansinghbais Date: Thu, 9 Jan 2025 10:35:27 +0530 Subject: [PATCH] Reverted: check for rejected and completed item as it is already checked in the parent (#528) --- src/views/CountDetail.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/CountDetail.vue b/src/views/CountDetail.vue index 7b9d0840..7b2271dc 100644 --- a/src/views/CountDetail.vue +++ b/src/views/CountDetail.vue @@ -417,7 +417,7 @@ async function scanProduct() { if((!selectedItem.quantity && selectedItem.quantity !== 0) || product.value.isRecounting) { hasUnsavedChanges.value = true; inputCount.value++ - } else if(selectedItem.quantity >= 0 && selectedItem.itemStatusId !== "INV_COUNT_REJECTED" && selectedItem.itemStatusId !== "INV_COUNT_COMPLETED") { + } else if(selectedItem.quantity >= 0) { openRecountAlert() } }