2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 21:46:46 +00:00
This commit is contained in:
Oliver 2021-10-05 22:52:23 +11:00
parent 4d5af825b1
commit b7bb81c0ea

View File

@ -135,7 +135,7 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
final bool result = await item.addStock(context, quantity, notes: _notesController.text); final bool result = await item.addStock(context, quantity, notes: _notesController.text);
_notesController.clear(); _notesController.clear();
_stockUpdateMessage(result); _stockUpdateMessage();
refresh(); refresh();
} }
@ -214,7 +214,7 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
final bool result = await item.removeStock(context, quantity, notes: _notesController.text); final bool result = await item.removeStock(context, quantity, notes: _notesController.text);
_stockUpdateMessage(result); _stockUpdateMessage();
refresh(); refresh();
@ -287,7 +287,7 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
final bool result = await item.countStock(context, quantity, notes: _notesController.text); final bool result = await item.countStock(context, quantity, notes: _notesController.text);
_stockUpdateMessage(result); _stockUpdateMessage();
refresh(); refresh();
} }