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

@@ -70,6 +70,7 @@
$("#amount").parent().find(".invalid-feedback").text(L('The amount cannot be lower than #1', '1'));
$('#amount').val(0);
$('#price').val('');
$('#amount_qu_unit').text("");
$("#tare-weight-handling-info").addClass("d-none");
Grocy.Components.LocationPicker.Clear();
Grocy.Components.DateTimePicker.Clear();