commit a643497df3737920270ff7fa5944706bc065ee58
parent 17f0840dd67894d0ff88098814f8cd77cd0beef4
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 21 Nov 2026 23:56:17 +0100
typst: print a legal entity's registered office in the VQF 902.1 PDF
The form is to store it as REGISTERED_OFFICE_ADDRESS, which tops-kyx-check
requires (#12295); older attribute sets still have it as DOMICILE_ADDRESS;
the new code tolerates both (fixes #12296).
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/contrib/typst/vqf_902_1_customer/vqf_902_1_customer.typ b/contrib/typst/vqf_902_1_customer/vqf_902_1_customer.typ
@@ -155,7 +155,8 @@
stroke: 0.5pt + black,
inset: 5pt,
[Company name\*], if is_legal { get("COMPANY_NAME") } else { "" },
- [Domicile\*], if is_legal { get("DOMICILE_ADDRESS") } else { "" },
+ // Older attribute sets have the registered office in DOMICILE_ADDRESS.
+ [Domicile\*], if is_legal { get("REGISTERED_OFFICE_ADDRESS", default: get("DOMICILE_ADDRESS")) } else { "" },
[Contact person], if is_legal { get("CONTACT_PERSON_NAME") } else { "" },
[Telephone], if is_legal { get("CONTACT_PHONE") } else { "" },
[E-mail], if is_legal { get("CONTACT_EMAIL") } else { "" },