mirror of
https://github.com/grocy/grocy.git
synced 2025-09-18 18:46:51 +00:00
Prefill the stock entry amount when using a stock entry grocycode on /consume (closes #1736)
This commit is contained in:
@@ -234,6 +234,7 @@ $("#location_id").on('change', function(e)
|
||||
function(stockEntries)
|
||||
{
|
||||
OnLocationChange(stockEntries[0].location_id, gc[3]);
|
||||
$('#display_amount').val(stockEntries[0].amount);
|
||||
},
|
||||
function(xhr)
|
||||
{
|
||||
|
Reference in New Issue
Block a user