From a1359dbf0e576f805676b1d7f3240eed65fad7db Mon Sep 17 00:00:00 2001 From: Naiel <109038805+naielv@users.noreply.github.com> Date: Thu, 5 Jun 2025 12:46:45 +0200 Subject: [PATCH] updateee --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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),