From ac3b97318d756294e51093bc6530b72a48e355d7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 21 Nov 2026 23:56:17 +0100 Subject: [PATCH] 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. Issue: https://bugs.taler.net/n/12296 Assisted by LLM --- contrib/typst/vqf_902_1_customer/vqf_902_1_customer.typ | 3 ++- 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 index 0514c954c..c00cd2103 100644 --- 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 { "" }, -- 2.47.3