Grotti 3.0.0: Aufträge, Wartung, SSE, Ausschuss-Dialog, UI-Umbau.
Migrationen 003–009, Kundaufträge mit Lieferschein, Abräumen mit Urteil, ntfy/Backup/Zeitfenster, Live-Stream und Mobile-Mehr-Menü.
This commit is contained in:
1 parent
0236278929
commit
8e88efc094
45 files changed
+3121
-122
No files matched your search
@@ -130,6 +130,12 @@ function render(data) {
|
||||
<td class="num">${p.completed}</td>
|
||||
</tr>`).join("") || '<tr><td class="empty" colspan="6">Keine Daten.</td></tr>';
|
||||
|
||||
const reasons = (data.scrap_reasons || []).map((r) => `
|
||||
<tr>
|
||||
<td>${escapeHtml(r.reason || "—")}</td>
|
||||
<td class="num">${r.count}</td>
|
||||
</tr>`).join("") || '<tr><td class="empty" colspan="2">Kein Ausschuss im Zeitraum.</td></tr>';
|
||||
|
||||
const materials = (data.by_material || []).map((m) => `
|
||||
<tr>
|
||||
<td>${escapeHtml(m.material_type || "—")}</td>
|
||||
@@ -156,6 +162,13 @@ function render(data) {
|
||||
<tbody>${printers}</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>Ausschuss-Gründe</h2>
|
||||
<div class="table-wrap"><table>
|
||||
<thead><tr><th>Grund</th><th>Anzahl</th></tr></thead>
|
||||
<tbody>${reasons}</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2>Nach Material</h2>
|
||||
<div class="table-wrap"><table>
|
||||
|
||||
Reference in new issue
Block a user