mirror of
https://github.com/benedictdudel/pandoc-letter-din5008.git
synced 2024-08-16 10:19:49 +02:00
Update to include invoice-footer
This commit is contained in:
parent
f1a9c37a41
commit
ed574c28ab
2 changed files with 46 additions and 0 deletions
|
@ -15,6 +15,13 @@ date: 01.01.2023
|
|||
subject: Musterbrief
|
||||
signature: Erika Musterfrau
|
||||
invoice: 123456789
|
||||
frombank: |
|
||||
Musterbank
|
||||
IBAN: DE12345678901234567890
|
||||
BIC: MUBADEF1XXX
|
||||
printinvoicefooter: true
|
||||
printfooteraddress: true
|
||||
ustID: DE123456789
|
||||
...
|
||||
|
||||
vielen Dank für Ihren Auftrag. Bitte überweisen Sie den im Folgenden aufgeführten Rechnungsbetrag innerhalb von 14 Tagen auf das angegebene Konto.
|
||||
|
|
39
letter.latex
39
letter.latex
|
@ -525,6 +525,45 @@ $if(closing)$\setkomavar{closing}{$closing$}$endif$
|
|||
$if(enclseparator)$\setkomavar*{enclseparator}{$enclseparator$}$endif$
|
||||
% END OVERRIDES
|
||||
|
||||
$if(printinvoicefooter)$
|
||||
\setplength{firstfootvpos}{270mm}
|
||||
\setkomavar{firstfoot}{\usekomafont{pageheadfoot}\usekomafont{pagefoot}
|
||||
\parbox[t]{\textwidth}{
|
||||
\rule[3pt]{\linewidth}{.4pt} \\
|
||||
\begin{tabular}[t]{l@{}}
|
||||
$if(printfooteraddress)$
|
||||
$fromname$\\
|
||||
$for(fromaddress)$
|
||||
$fromaddress$$sep$\\
|
||||
$endfor$
|
||||
$endif$
|
||||
% either taxNumber or USt-ID has to be present
|
||||
$if(taxNumber)$
|
||||
\\Steuernummer: $taxNumber$
|
||||
$endif$
|
||||
$if(ustID)$
|
||||
\\USt-ID: $ustID$
|
||||
$endif$
|
||||
\end{tabular}
|
||||
\hfill
|
||||
\begin{tabular}[t]{l@{}}
|
||||
$if(phone)$Telefon: $phone$\\$endif$
|
||||
$fromemail$\\
|
||||
\end{tabular}
|
||||
\hfill
|
||||
$if(frombank)$
|
||||
\begin{tabular}[t]{l@{}}
|
||||
$for(frombank)$
|
||||
$frombank$$sep$\\
|
||||
$endfor$
|
||||
\end{tabular}
|
||||
$endif$
|
||||
}
|
||||
}
|
||||
$endif$
|
||||
|
||||
|
||||
|
||||
\begin{document}
|
||||
$if(has-frontmatter)$
|
||||
\frontmatter
|
||||
|
|
Loading…
Reference in a new issue