Rewrite materiales

This commit is contained in:
naielv
2025-08-04 20:16:58 +02:00
parent a83be0f7c7
commit 0ea230e99b
2 changed files with 37 additions and 74 deletions

View File

@@ -757,6 +757,12 @@ function TS_IndexElement(
tdRaw.innerHTML = rawContent;
new_tr.appendChild(tdRaw);
break;
case "template":
const tdCustomTemplate = document.createElement("td");
tdCustomTemplate.style.verticalAlign = "top";
tdCustomTemplate.innerHTML = key.format(data);
new_tr.appendChild(tdCustomTemplate);
break;
case "comanda":
const tdComanda = document.createElement("td");
tdComanda.style.verticalAlign = "top";