This commit is contained in:
JMARyA 2024-09-21 04:15:00 +02:00
parent db0841d716
commit fd2f2aa6f5
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -33,7 +33,7 @@ class _SupplyPageState extends State<SupplyPage> {
_formKey.currentState!.save();
API()
.supplyItem(widget.item.name, variant, "${_priceController.text}",
.supplyItem(widget.item.id, variant, "${_priceController.text}",
_selectedOrigin, _selectedLocation, _noteController.text)
.then((_) {
ScaffoldMessenger.of(context).showSnackBar(