diff --git a/index.html b/index.html index 5765646..cd8bff8 100644 --- a/index.html +++ b/index.html @@ -2187,7 +2187,7 @@
${SC_parse(JSON.parse(data.Comanda)) +
@@ -2204,7 +2204,7 @@
document.getElementById(btn_Preparacion).classList = "rojo";
new_tr.style.backgroundColor = "#FFCCCB";
}
- if (data.Estado == "Hecho") {
+ if (data.Estado == "Listo") {
new_tr.style.backgroundColor = "gold";
document.getElementById(btn_Hecho).classList = "rojo";
}
@@ -2249,7 +2249,7 @@
document.getElementById(btn_Hecho).onclick = () => {
window.event.cancelBubble = true;
window.event.stopPropagation();
- data.Estado = "Hecho";
+ data.Estado = "Listo";
var enc = SEA.encrypt(data, SECRET, (encrypted) => {
betterGunPut(
gun.get(TABLE).get("supercafe").get(data._key),