Skip to content

Commit 26d8088

Browse files
fix(tools): make country field optional in typst template
1 parent 1b5d936 commit 26d8088

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/tools/templates/invoice/default.typ

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,14 @@
154154
#invoice.clientDetails.at("contactPersonName", default: none) \
155155
#invoice.clientDetails.address \
156156
#invoice.clientDetails.postalCode #invoice.clientDetails.city \
157-
#invoice.clientDetails.country]
157+
#invoice.clientDetails.at("country", default: none)]
158158
],
159159
[
160160
#align(right)[
161161
#invoice.companyDetails.name \
162162
#invoice.companyDetails.address \
163163
#invoice.companyDetails.postalCode #invoice.companyDetails.city \
164-
#invoice.companyDetails.country
164+
#invoice.companyDetails.at("country", default: none)
165165
#v(1em)
166166
#invoice.companyDetails.telephoneNumber \
167167
#invoice.companyDetails.email \

0 commit comments

Comments
 (0)