MT940-Import: AQBanking-Unterstützung entfernt
[kivitendo-erp.git] / templates / print / marei / zahlungserinnerung.tex
1 \documentclass[paper=a4,fontsize=10pt]{scrartcl}
2 \usepackage{kiviletter}
3
4
5 % Variablen, die in settings verwendet werden
6 \newcommand{\lxlangcode} {<%template_meta.language.template_code%>}
7 \newcommand{\lxmedia} {<%media%>}
8 \newcommand{\lxcurrency} {<%currency%>}
9 \newcommand{\kivicompany} {<%employee_company%>}
10
11 % settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile
12 \input{insettings.tex}
13
14
15 % laufende Kopfzeile:
16 \ourhead{\kundennummer}{<%customernumber%>}{\mahnung}{<%dunning_id%>}{<%dunning%>}
17
18 \setkomavar*{date}{\datum}
19 \setkomavar{date}{<%dunning_date%>}
20 \setkomavar{customer}{<%customernumber%>}
21 \setkomavar{fromname}{<%employee_name%>}
22 \setkomavar{fromphone}{<%employee_tel%>}
23 \setkomavar{fromemail}{<%employee_email%>}
24 \setkomavar{title}{
25         \mahnung
26         <%if dunning_id%>~\nr~<%dunning_id%><%end if%>%
27 }
28 \setkomavar{transaction}{<%transaction_description%>}
29
30 \begin{document}
31
32 \begin{letter}{
33                 <%name%>\strut\\
34                 <%if department_1%><%department_1%>\\<%end if%>%
35                 <%if department_2%><%department_2%>\\<%end if%>%
36                 <%cp_givenname%> <%cp_name%>\strut\\
37                 <%street%>\strut\\
38                 <%zipcode%> <%city%>\strut\\
39                 <%country%> \strut
40         }
41
42 % Bei Kontaktperson Anrede nach Geschlecht unterscheiden.
43 % Bei natürlichen Personen persönliche Anrede, sonst allgemeine Anrede.
44 \opening{
45         \Ifstr{<%cp_name%>}{}
46                 {<%if natural_person%><%greeting%> <%name%>,<%else%>\anrede<%end if%>}
47                 {
48                         \Ifstr{<%cp_gender%>}{f}
49                                 {\anredefrau}
50                                 {\anredeherr}
51                                 <%cp_title%> <%cp_name%>,
52                 }
53 }
54 \thispagestyle{kivitendo.letter.first}
55
56 \mahnungsformel
57
58 \begin{SimpleTabular}[headline=\bfseries\rechnung~\nr&\bfseries\datum&\bfseries\betrag,colspec=rXr<{\tabcurrency}]
59 % eigentliche Tabelle
60 <%foreach dn_invnumber%>%
61     <%dn_invnumber%> & <%dn_transdate%> & <%dn_amount%> \\[0.1cm]
62 <%end dn_invnumber%>%
63 \end{SimpleTabular}
64
65
66 \smallskip
67
68 \bitteZahlenBis~<%dunning_duedate%>.
69
70
71 \beruecksichtigtBis~<%dunning_date%>.
72
73
74 \schonGezahlt
75
76 \closing{\gruesse}
77
78 \end{letter}
79
80 \end{document}