Add hint when barcode lookup is disabled

This commit is contained in:
Bernd Bestel
2017-04-21 12:03:56 +02:00
parent d628f9b3ca
commit 5db288fc3c
5 changed files with 11 additions and 2 deletions

View File

@@ -33,6 +33,7 @@
}
toastr.success('Stock amount of ' + productDetails.product.name + ' is now ' + jsonForm.new_amount.toString() + ' ' + productDetails.quantity_unit_stock.name);
Grocy.Wait(1000);
if (addBarcode !== undefined)
{
@@ -241,6 +242,7 @@ $(function()
{
$('#addbarcodetoselection').text(addBarcode);
$('#flow-info-addbarcodetoselection').removeClass('hide');
$('#barcode-lookup-disabled-hint').removeClass('hide');
}
});