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

@@ -35,6 +35,7 @@
}
toastr.success('Added ' + amount + ' ' + productDetails.quantity_unit_stock.name + ' of ' + productDetails.product.name + ' to stock');
Grocy.Wait(1000);
if (addBarcode !== undefined)
{
@@ -239,6 +240,7 @@ $(function()
{
$('#addbarcodetoselection').text(addBarcode);
$('#flow-info-addbarcodetoselection').removeClass('hide');
$('#barcode-lookup-disabled-hint').removeClass('hide');
}
});