increases spacing between footer and content
All checks were successful
deploy / deploy (push) Successful in 14s

This commit is contained in:
cybrwshl 2025-06-16 19:11:43 +02:00
parent 89c447666d
commit e4640d754d

View file

@ -34,8 +34,8 @@
dx: -1cm,
line(
length: -1em,
stroke: 0.5pt + colors.subtext
)
stroke: 0.5pt + colors.subtext,
),
)
// DIN 5008 Faltmarke 2: 210mm
#place(
@ -44,8 +44,8 @@
dx: -1cm,
line(
length: -1em,
stroke: 0.5pt + colors.subtext
)
stroke: 0.5pt + colors.subtext,
),
)
#place(
@ -69,18 +69,16 @@
columns: (auto, 1fr, auto),
fill: (_, row) => if row == 0 { colors.highlight } else { white },
stroke: 0.1pt + colors.subtext,
[*Gesamtbetrag der Zuwendung*],
[*- in Buchstaben -*],
[*Tag der Zuwendung*],
[#config.amount EUR],
[#config.amount_text EUR],
[#config.date_of_donation]
[*Gesamtbetrag der Zuwendung*], [*- in Buchstaben -*], [*Tag der Zuwendung*],
[#config.amount EUR], [#config.amount_text EUR], [#config.date_of_donation],
)
#text(size: 10pt)[
#if config.collection != none {[
#if config.collection != none {
[
Ob es sich um den Verzicht auf Erstattung von Aufwendungen handelt, ist der Anlage zur Sammelbestätigung zu entnehmen.
]} else {
]
} else {
if config.release_expenditures {
[Es handelt sich um den Verzicht auf Erstattung von Aufwendungen: #h(5em) Ja #h(5em) Nein]
} else {
@ -104,7 +102,7 @@
]
// Footer
#place(bottom+left)[
#place(bottom + left, dy: 7mm)[
#form_field(width: 50%)[Freudenstadt, den #config.date]
#text(size: 0.7em, fill: colors.subtext)[
@ -141,7 +139,8 @@
]
]
#if config.collection != none {[
#if config.collection != none {
[
#pagebreak()
#heading[*Anlage zur Sammelbestätigung*]
@ -158,11 +157,16 @@
[*Art der Zuwendung*],
[*Verzicht auf die\ Erstattung von\ Aufwendungen*],
[*Betrag*],
..config.collection.map(e => (
..config
.collection
.map(e => (
e.date,
e.type,
if e.release_expenditures { "Ja" } else { "Nein" },
[#e.amount EUR],
)).flatten().map(e => [#e]),
))
.flatten()
.map(e => [#e]),
)
]}
]
}