Fix item cost rounding

This commit is contained in:
Hillel Coren 2018-11-08 12:19:30 +02:00
parent ba1344e6bc
commit 5069cdc838

View file

@ -1100,7 +1100,7 @@ ko.bindingHandlers.productTypeahead = {
}
@endif
model.cost(roundToTwo(cost, true));
model.cost(roundSignificant(cost));
}
}
if (! model.qty() && ! model.isTask()) {