fix(ausruestung): show untracked assignments, item traits in order wizard, receipt

gate for completion, PDF phone + last-row line
This commit is contained in:
Matthias Hochmeister
2026-04-15 10:58:51 +02:00
parent 279cc03b6b
commit 4c01683c10
5 changed files with 63 additions and 3 deletions

View File

@@ -190,6 +190,7 @@ async function getOrderById(id: number) {
l.adresse AS lieferant_adresse,
COALESCE(u.name, u.preferred_username, u.email) AS besteller_name,
u.email AS besteller_email,
COALESCE(mp.telefon_mobil, mp.telefon_privat) AS besteller_telefon,
mp.dienstgrad AS besteller_dienstgrad
FROM bestellungen b
LEFT JOIN lieferanten l ON l.id = b.lieferant_id