mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
Fixed barcode QU was not saved for single QU products (fixes #1504)
This commit is contained in:
parent
30e5cc3bc3
commit
e646dd9332
@ -30,6 +30,7 @@
|
|||||||
- Fixed that the current stock total value (header of the stock overview page) didn't include decimal amounts (thanks @Ape)
|
- Fixed that the current stock total value (header of the stock overview page) didn't include decimal amounts (thanks @Ape)
|
||||||
- Fixed that the transfer page was not fully populated when opening it from the stock entries page
|
- Fixed that the transfer page was not fully populated when opening it from the stock entries page
|
||||||
- Fixed that undoing a consume/open action from the success notification on the stock entries page was not possible
|
- Fixed that undoing a consume/open action from the success notification on the stock entries page was not possible
|
||||||
|
- Fixed that adding a barcode to a product didn't save the selected quantity unit when the product only has a single one
|
||||||
|
|
||||||
### Shopping list improvements/fixes
|
### Shopping list improvements/fixes
|
||||||
- The amount now defaults to `1` for adding items quicker
|
- The amount now defaults to `1` for adding items quicker
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
var jsonData = $('#barcode-form').serializeJSON();
|
var jsonData = $('#barcode-form').serializeJSON();
|
||||||
jsonData.amount = jsonData.display_amount;
|
jsonData.amount = jsonData.display_amount;
|
||||||
delete jsonData.display_amount;
|
delete jsonData.display_amount;
|
||||||
|
jsonData.qu_id = $("#qu_id").val();
|
||||||
|
|
||||||
Grocy.FrontendHelpers.BeginUiBusy("barcode-form");
|
Grocy.FrontendHelpers.BeginUiBusy("barcode-form");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user