mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 19:46:25 +00:00
Fixes
This commit is contained in:
parent
4d5af825b1
commit
b7bb81c0ea
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue