mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-28 21:46:46 +00:00
Fixes
This commit is contained in:
parent
4d5af825b1
commit
b7bb81c0ea
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user