Commit fd149d3d by Damien Moulard

add check in shelf admin

parent 75bbbbbd
Pipeline #2286 passed with stage
in 1 minute 25 seconds
......@@ -600,6 +600,9 @@ $(document).ready(function() {
} else if (barcode.length == 12 && barcode.indexOf('0') !== 0) {
// User may use a scanner which remove leading 0
barcode = '0' + barcode;
} else if (barcode.length >= 8) {
// For EAN8
barcode = barcode.substring(barcode.length-8);
}
......
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