Skip to content

Commit

Permalink
Merge pull request #2037 from ArnaudFonzam/OP-1303
Browse files Browse the repository at this point in the history
OP-1303 | Make status more evident in edit inventory
  • Loading branch information
mwithi authored Sep 5, 2024
2 parents 963c44d + 1240d89 commit 2fa1ee1
Show file tree
Hide file tree
Showing 2 changed files with 130 additions and 95 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,6 @@ private JButton getUpdateButton() {
return;
}
inventory = inventoryList.get(selectedRow);
if (inventory.getStatus().equals(InventoryStatus.validated.toString())) {
MessageDialog.error(null, "angal.inventory.validatednoteditable.msg");
return;
}
if (inventory.getStatus().equals(InventoryStatus.canceled.toString())) {
MessageDialog.error(null, "angal.inventory.cancelednoteditable.msg");
return;
Expand Down
Loading

0 comments on commit 2fa1ee1

Please sign in to comment.