Follow-ups from the reprinted quotation PDF review:
Mehrverbrauch — the row named no price. It now shows only on quotes with a Prüfwerk item (CRA-CSA-*) and reads the per-check price from the CRA-CSA-CLD-SCAN Item Price on the quote's price list (catalogue: € 12,00). If no price exists it falls back to „gemäß der jeweils gültigen Preisliste“.
Vertragsgrundlagen — the default cited „die Versionsstände sind in der Anlage bezeichnet“, but no Anlage exists. Now: documents on request beforehand, available in the customer portal after signing. The per-quote vertragsgrundlage field still overrides it.
USt-IdNr. — the ERP server renders Arial as NimbusSans, which sets „Nr.“ as a single „№“ glyph (footer showed „USt-Id№“). A zero-width non-joiner keeps the letters. This touches the shared letter-head footer, so invoices printed from now on change too; issued invoices are untouched.
Checks
go vet, go test ./internal/erpsetup/ green. The Quotation block was rendered with Jinja for: Prüfwerk + price, Prüfwerk without price, no Prüfwerk (row absent).
Apply
After merge: run erpsetup, reprint the quote and check the footer and the Mehrverbrauch row.
## What
Follow-ups from the reprinted quotation PDF review:
- **Mehrverbrauch** — the row named no price. It now shows only on quotes with a Prüfwerk item (`CRA-CSA-*`) and reads the per-check price from the `CRA-CSA-CLD-SCAN` Item Price on the quote's price list (catalogue: € 12,00). If no price exists it falls back to „gemäß der jeweils gültigen Preisliste“.
- **Vertragsgrundlagen** — the default cited „die Versionsstände sind in der Anlage bezeichnet“, but no Anlage exists. Now: documents on request beforehand, available in the customer portal after signing. The per-quote `vertragsgrundlage` field still overrides it.
- **USt-IdNr.** — the ERP server renders Arial as NimbusSans, which sets „Nr.“ as a single „№“ glyph (footer showed „USt-Id№“). A zero-width non-joiner keeps the letters. This touches the shared letter-head footer, so invoices printed from now on change too; issued invoices are untouched.
## Checks
`go vet`, `go test ./internal/erpsetup/` green. The Quotation block was rendered with Jinja for: Prüfwerk + price, Prüfwerk without price, no Prüfwerk (row absent).
## Apply
After merge: run `erpsetup`, reprint the quote and check the footer and the Mehrverbrauch row.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01KYcAAeTw22GE9QPzDM8yc4
- Mehrverbrauch: only on quotes with Prüfwerk, priced from the
CRA-CSA-CLD-SCAN Item Price (falls back to the price list).
- Vertragsgrundlagen default no longer cites a missing Anlage: documents
on request beforehand, in the customer portal after signing.
- USt-IdNr.: NimbusSans sets "Nr." as one № glyph; a ZWNJ keeps it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KYcAAeTw22GE9QPzDM8yc4
sharang
merged commit 0f536fc955 into main2026-10-28 08:40:07 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What
Follow-ups from the reprinted quotation PDF review:
CRA-CSA-*) and reads the per-check price from theCRA-CSA-CLD-SCANItem Price on the quote's price list (catalogue: € 12,00). If no price exists it falls back to „gemäß der jeweils gültigen Preisliste“.vertragsgrundlagefield still overrides it.Checks
go vet,go test ./internal/erpsetup/green. The Quotation block was rendered with Jinja for: Prüfwerk + price, Prüfwerk without price, no Prüfwerk (row absent).Apply
After merge: run
erpsetup, reprint the quote and check the footer and the Mehrverbrauch row.🤖 Generated with Claude Code
https://claude.ai/code/session_01KYcAAeTw22GE9QPzDM8yc4