diff --git a/lib/widget/stock_detail.dart b/lib/widget/stock_detail.dart index 28ac29cb..862d9628 100644 --- a/lib/widget/stock_detail.dart +++ b/lib/widget/stock_detail.dart @@ -225,7 +225,7 @@ class _StockItemDisplayState extends RefreshableState { void _countStockDialog() async { - _quantityController.text = item.quantityString; + _quantityController.text = item.quantity.toString(); _notesController.clear(); showFormDialog(L10().countStock, @@ -292,7 +292,7 @@ class _StockItemDisplayState extends RefreshableState { int? location_pk; - _quantityController.text = "${item.quantityString}"; + _quantityController.text = "${item.quantity}"; showFormDialog(L10().transferStock, key: _moveStockKey,