Skip to content

Commit

Permalink
Improve
Browse files Browse the repository at this point in the history
  • Loading branch information
mwithi committed Oct 29, 2024
1 parent 2a54222 commit 12a8f36
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -436,13 +436,16 @@ private JTextField getJTextFieldSearch() {
if (lot == null) {
return;
}
// Lot Cost
BigDecimal cost = new BigDecimal(0);
if (GeneralData.LOTWITHCOST) {
BigDecimal cost = askCost(qty);
cost = askCost(qty);
if (cost.compareTo(new BigDecimal(0)) == 0) {
return;
}
lot.setCost(cost);
}
isNewLot = true;
lot.setCost(cost);
}
// Lot Cost
BigDecimal cost = lot.getCost();
Expand Down

0 comments on commit 12a8f36

Please sign in to comment.