mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-14 12:06:24 +00:00
API post request now uses HttpClient
This commit is contained in:
parent
71340da068
commit
b8c535560d
6 changed files with 118 additions and 103 deletions
|
|
@ -247,7 +247,7 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
|
|||
|
||||
void _transferStock(BuildContext context, InvenTreeStockLocation location) async {
|
||||
|
||||
double quantity = double.parse(_quantityController.text);
|
||||
double quantity = double.tryParse(_quantityController.text) ?? item.quantity;
|
||||
String notes = _notesController.text;
|
||||
|
||||
_quantityController.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue