Skip to content

Commit a3771be

Browse files
feat: add client vatIdNumber to typst template
1 parent 3bbaf13 commit a3771be

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/tools/templates/invoice/default.typ

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@
158158
#invoice.clientDetails.postalCode #invoice.clientDetails.city \
159159
#if invoice.clientDetails.at("country", default: none) != none {
160160
lang.countries.at(invoice.clientDetails.at("country"), default: invoice.clientDetails.country)
161+
} \
162+
#if invoice.clientDetails.at("vatIdNumber", default: none) != none {
163+
[#lang.invoice.fields.vatIdNumber: #invoice.clientDetails.at("vatIdNumber", default: none)]
161164
}
162165
]
163166
],

0 commit comments

Comments
 (0)