|
|
|
@ -2251,7 +2251,7 @@ public class PageController { |
|
|
|
recordMinP.setUnit(inventoryById.getUnit()); |
|
|
|
double price = 0.0; |
|
|
|
if (inventoryById.getPrice() != null) { |
|
|
|
price = (inventoryById.getPrice()) * recordMinP.getQuantity(); |
|
|
|
price = ObjectFormatUtil.multiply(inventoryById.getPrice(), recordMinP.getQuantity()); |
|
|
|
} |
|
|
|
BigDecimal bg = new BigDecimal(price); |
|
|
|
price = bg.setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue(); |
|
|
|
|