This commit is contained in:
2020-12-03 08:26:58 +06:30
parent c79fab4cc7
commit 57e08502b7
44 changed files with 2631 additions and 419 deletions

View File

@@ -31,7 +31,7 @@ class _DiscountByWeightEditorState extends State<DiscountByWeightEditor> {
super.initState();
if (widget.discountByWeight != null) {
_discountByWeight = widget.discountByWeight;
_weightController.text = _discountByWeight.weight.toString();
_weightController.text = _discountByWeight.weight.toStringAsFixed(2);
_discountController.text = _discountByWeight.discount.toString();
_isNew = false;
} else {