Merge branch 'nov_fixes' into 'development_new_design_2.0'

small fix in order details

See merge request Cloud_Solution/diplomatic-quarter!540
merge-update-with-lab-changes
haroon amjad 4 years ago
commit a88889ec1d

@ -248,11 +248,11 @@ class _ProductOrderItemState extends State<ProductOrderItem> {
} else {
newValue = widget.item.quantity - 1;
}
} else {
_quantityController.text = "${widget.item.quantity}";
_totalPrice =
"${(widget.item.product.price * widget.item.quantity).toStringAsFixed(2)}";
widget.item.quantity = newValue;
}
_quantityController.text = "${widget.item.quantity}";
_totalPrice =
"${(widget.item.product.price * widget.item.quantity).toStringAsFixed(2)}";
}
});
}

Loading…
Cancel
Save