Commit 1bc514ce by Damien Moulard

INV hotfix

parent 925944d8
Pipeline #2276 passed with stage
in 1 minute 26 seconds
...@@ -142,6 +142,10 @@ function refresh() { ...@@ -142,6 +142,10 @@ function refresh() {
// Directly send a line to edition when barcode is read // Directly send a line to edition when barcode is read
function select_product_from_bc(barcode) { function select_product_from_bc(barcode) {
if (barcode === "" || barcode === null || barcode === undefined) {
return -1;
}
var found = null, var found = null,
qty = null; qty = 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