restock mode

This commit is contained in:
2025-03-19 20:45:05 +01:00
parent d491033c29
commit 14cf8af14b
3 changed files with 214 additions and 10 deletions

View File

@@ -186,13 +186,7 @@ function confirmedCart() {
});
}
function getCookie(name) {
let value = "; " + document.cookie;
let parts = value.split("; " + name + "=");
if(parts.length == 2) {
return parts.pop().split(";").shift();
}
}
// Handle barcode scanner
// Force the cursor to the scanner field