Commit ad1eda68 by Damien Moulard

Merge branch 'ticket_3287' into 'dev_cooperatic'

Ajout de message informatif si le code-barre soumis n'est pas valide

See merge request !181
parents edd0e0df 01df4d84
Pipeline #2253 passed with stage
in 1 minute 25 seconds
...@@ -158,6 +158,9 @@ function select_product_from_bc(barcode) { ...@@ -158,6 +158,9 @@ function select_product_from_bc(barcode) {
qty = scannedProduct.qty; qty = scannedProduct.qty;
} }
} }
} else {
alert("Le code-barre " + barcode + " n'est pas reconnu comme un EAN13 valide.'");
return -1;
} }
if (editing_item === null) { if (editing_item === null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment