diff --git a/public/viewjs/stockentryform.js b/public/viewjs/stockentryform.js index 7f35ac93..b8286aed 100644 --- a/public/viewjs/stockentryform.js +++ b/public/viewjs/stockentryform.js @@ -49,7 +49,7 @@ if (Grocy.FeatureFlags.GROCY_FEATURE_FLAG_LABEL_PRINTER && $("#print-label").is(":checked")) { - Grocy.Api.Get('stock/entry/' + result[0].id + '/printlabel', function(labelData) + Grocy.Api.Get('stock/entry/' + result[0].stock_id + '/printlabel', function(labelData) { if (Grocy.Webhooks.labelprinter !== undefined) {