production - restore old version

This commit is contained in:
Michał Zieliński
2025-09-08 08:50:32 +02:00
parent e76b3fb61c
commit 7a3f58a551
3 changed files with 92 additions and 34 deletions

View File

@@ -171,6 +171,7 @@ function getRawMaterials() {
}
function drawRawMaterials(data) {
$("#rawMaterialsTableContainer").html(rawMaterialsTablePrototype());
// TODO: tutraj czasami się wiesza
data.forEach((el, index) => {
var tr = $("<tr></tr>");
tr.append("<td><input type=\"checkbox\" value=" + el.id + " class=\"rawMaterialCheck\" /></td>");