Clear displayed quantity unit after purchase/consume/inventory bookings

This commit is contained in:
Bernd Bestel
2019-03-09 12:31:45 +01:00
parent a3d4fd834f
commit 4d215edbd0
3 changed files with 3 additions and 0 deletions

View File

@@ -46,6 +46,7 @@
$("#amount").attr("step", "1");
$("#amount").parent().find(".invalid-feedback").text(L('The amount cannot be lower than #1', '1'));
$('#amount').val(1);
$('#amount_qu_unit').text("");
$("#tare-weight-handling-info").addClass("d-none");
Grocy.Components.ProductPicker.Clear();
if (Grocy.FeatureFlags.GROCY_FEATURE_FLAG_RECIPES)