From 227d0422da0062410c85529bc999d7e509d9de78 Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Tue, 22 Sep 2026 09:04:27 +0200 Subject: documents: org name in the invoice and payslip headers, document_header_color --- docs/DECISIONS.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs/DECISIONS.md') diff --git a/docs/DECISIONS.md b/docs/DECISIONS.md index 125d19b..6b3467b 100644 --- a/docs/DECISIONS.md +++ b/docs/DECISIONS.md @@ -227,6 +227,17 @@ kept verbatim from the STATE.md they were pruned from (2026-09-21). show `betald `. SMTP: `smtp_from`/`smtp_reply_to` are validated as e-mail addresses (settings.set and mail config), with the sender's display name taken from the org name. +27. **Document header (2026-09-22)**: the invoice header bar no longer + draws the `MAKANDRA AB` Comfortaa outline; it prints the organization + name (`orgs.name`) in Helvetica-Bold, scaled down and truncated with + `...` if it would reach the `FAKTURA` wordmark, which stays. The shared + setting `document_header_color` (`#rrggbb`, default `#314c59`) colours + the header bar of **every** generated document — currently the invoice + and the lönebesked; `settings.set` refuses other values and the + renderers fall back to the default if a stored value is invalid. The + lönebesked prints the employer name in its header too, so the + `MAKANDRA AB` outlines are unused at runtime (kept in the generated + header). Images remain out of scope. ## Completed work formerly listed under "Pending decisions" -- cgit v1.3