Skip to content

Commit

Permalink
Update src/main/java/org/isf/medicalstock/gui/MovStockMultipleChargin…
Browse files Browse the repository at this point in the history
…g.java
  • Loading branch information
mwithi authored Oct 29, 2024
1 parent 5cfa517 commit fe845ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ private boolean setOrValidateCost(Lot lot, int qty) {
if (GeneralData.LOTWITHCOST && (cost.equals(BigDecimal.ZERO) || lot.getCost() == null)) {
cost = askCost(qty);
if (cost.compareTo(BigDecimal.ZERO) == 0) {
return false; // Invalid cost, exit the method
return false;
}
lot.setCost(cost);
}
Expand Down

0 comments on commit fe845ec

Please sign in to comment.