From cb8dc396b3f9da9f9c1b848201bc9773f5f669d4 Mon Sep 17 00:00:00 2001 From: Eddy Date: Thu, 16 Apr 2026 10:49:49 +0200 Subject: [PATCH] Kunden-Bestellnr. in Auftragsliste anzeigen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ref_client wird neben Auftragsnummer angezeigt (wenn vorhanden) - CSS-Styling für .ref-client [deploy] Co-Authored-By: Claude Opus 4.5 --- app.css | 5 +++++ app.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app.css b/app.css index e2c9b40..fe3d8de 100644 --- a/app.css +++ b/app.css @@ -168,6 +168,11 @@ body { color: #7aa2f7; font-size: 14px; } +.order-card .ref-client { + font-weight: 400; + color: #aaa; + font-size: 13px; +} .order-card .name { font-size: 15px; margin-top: 4px; diff --git a/app.js b/app.js index cee135e..e44c64b 100644 --- a/app.js +++ b/app.js @@ -338,7 +338,7 @@ router.on('/orders', async () => { function renderOrderList(orders) { return orders.map(o => `
-
${escapeHtml(o.ref)}
+
${escapeHtml(o.ref)}${o.ref_client ? ` — ${escapeHtml(o.ref_client)}` : ''}
${escapeHtml(o.customer.name || '')}
${escapeHtml((o.customer.zip || '') + ' ' + (o.customer.town || ''))}