Show stock QU hint also for the energy field on the product edit page (closes #1682)

This commit is contained in:
Bernd Bestel
2021-11-13 16:45:55 +01:00
parent 2a2335c8f4
commit a6ffe8480a
4 changed files with 17 additions and 7 deletions

View File

@@ -187,6 +187,7 @@ $('.input-group-qu').on('change', function(e)
$("#tare_weight_qu_info").text($("#qu_id_stock option:selected").text());
$("#quick_consume_qu_info").text($("#qu_id_stock option:selected").text());
$("#energy_qu_info").text($("#qu_id_stock option:selected").text());
Grocy.FrontendHelpers.ValidateForm('product-form');
});