Skip to content

Commit

Permalink
Reverted: check for rejected and completed item as it is already chec…
Browse files Browse the repository at this point in the history
…ked in the parent (#528)
  • Loading branch information
amansinghbais committed Jan 9, 2025
1 parent a90af56 commit d556d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/CountDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand Down

0 comments on commit d556d25

Please sign in to comment.