2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 18:25:26 +00:00

API post request now uses HttpClient

This commit is contained in:
Oliver Walters
2021-04-19 21:56:20 +10:00
parent 71340da068
commit b8c535560d
6 changed files with 118 additions and 103 deletions

View File

@ -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();