Revision ab064135
Von Marei Peischl vor 11 Monaten hinzugefügt
templates/print/marei/zahlungserinnerung.tex | ||
---|---|---|
30 | 30 |
\begin{document} |
31 | 31 |
|
32 | 32 |
\begin{letter}{% |
33 |
<%if billing_address_id%>% |
|
34 |
<%billing_address_name%> \strut\\%
|
|
35 |
<%if department_1%><%billing_address_department_1%>\\<%end if%>%
|
|
36 |
<%if department_2%><%billing_address_department_2%>\\<%end if%>%
|
|
37 |
<%cp_title%> <%cp_givenname%> <%cp_name%>\strut\\%
|
|
38 |
<%billing_address_street%>\strut\\%
|
|
39 |
<%billing_address_zipcode%> <%billing_address_city%> \strut\\%
|
|
40 |
<%billing_address_country%>\strut\\%
|
|
41 |
<%else%>% |
|
42 |
<%name%>\strut\\%
|
|
43 |
<%if department_1%><%department_1%>\\<%end if%>%
|
|
44 |
<%if department_2%><%department_2%>\\<%end if%>%
|
|
45 |
<%cp_title%> <%cp_givenname%> <%cp_name%>\strut\\%
|
|
46 |
<%street%>\strut\\%
|
|
47 |
<%zipcode%> <%city%>\strut\\%
|
|
48 |
<%country%>\strut%
|
|
49 |
<%end if%>%
|
|
50 |
} |
|
33 |
<%if billing_address_id%>%
|
|
34 |
<%billing_address_name%> \strut\\%
|
|
35 |
<%if department_1%><%billing_address_department_1%>\\<%end if%>%
|
|
36 |
<%if department_2%><%billing_address_department_2%>\\<%end if%>%
|
|
37 |
<%cp_title%> <%cp_givenname%> <%cp_name%>\strut\\%
|
|
38 |
<%billing_address_street%>\strut\\%
|
|
39 |
<%billing_address_zipcode%> <%billing_address_city%> \strut\\%
|
|
40 |
<%billing_address_country%>\strut\\%
|
|
41 |
<%else%>%
|
|
42 |
<%name%>\strut\\%
|
|
43 |
<%if department_1%><%department_1%>\\<%end if%>%
|
|
44 |
<%if department_2%><%department_2%>\\<%end if%>%
|
|
45 |
<%cp_title%> <%cp_givenname%> <%cp_name%>\strut\\%
|
|
46 |
<%street%>\strut\\%
|
|
47 |
<%zipcode%> <%city%>\strut\\%
|
|
48 |
<%country%>\strut%
|
|
49 |
<%end billing_address_id%>%
|
|
50 |
}
|
|
51 | 51 |
|
52 |
% Bei Kontaktperson Anrede nach Geschlecht unterscheiden. |
|
53 |
% Bei natürlichen Personen persönliche Anrede, sonst allgemeine Anrede. |
|
54 |
\opening{ |
|
55 |
\Ifstr{<%cp_name%>}{} |
|
56 |
{<%if natural_person%><%greeting%> <%name%>,<%else%>\anrede<%end if%>}
|
|
57 |
{ |
|
58 |
\Ifstr{<%cp_gender%>}{f} |
|
59 |
{\anredefrau}
|
|
60 |
{\anredeherr}
|
|
52 |
% Bei Kontaktperson Anrede nach Geschlecht unterscheiden.
|
|
53 |
% Bei natürlichen Personen persönliche Anrede, sonst allgemeine Anrede.
|
|
54 |
\opening{
|
|
55 |
\Ifstr{<%cp_name%>}{}
|
|
56 |
{<%if natural_person%><%greeting%> <%name%>,<%else%>\anrede}<%end if%>
|
|
57 |
{
|
|
58 |
\Ifstr{<%cp_gender%>}{f}
|
|
59 |
{\anredefrau} |
|
60 |
{\anredeherr} |
|
61 | 61 |
<%cp_title%> <%cp_name%>, |
62 | 62 |
} |
63 | 63 |
} |
64 |
\thispagestyle{kivitendo.letter.first} |
|
64 |
\thispagestyle{kivitendo.letter.first}
|
|
65 | 65 |
|
66 |
\mahnungsformel |
|
66 |
\mahnungsformel
|
|
67 | 67 |
|
68 |
\begin{SimpleTabular}[headline=\bfseries\rechnung~\nr&\bfseries\datum&\bfseries\betrag,colspec=rXr<{\tabcurrency}] |
|
69 |
% eigentliche Tabelle |
|
70 |
<%foreach dn_invnumber%>% |
|
71 |
<%dn_invnumber%> & <%dn_transdate%> & <%dn_amount%> \\[0.1cm] |
|
72 |
<%end dn_invnumber%>% |
|
73 |
\end{SimpleTabular} |
|
68 |
\begin{SimpleTabular}[headline=\bfseries\rechnung~\nr&\bfseries\datum&\bfseries\betrag,colspec=rXr<{\tabcurrency}]
|
|
69 |
% eigentliche Tabelle
|
|
70 |
<%foreach dn_invnumber%>%
|
|
71 |
<%dn_invnumber%> & <%dn_transdate%> & <%dn_amount%> \\[0.1cm]
|
|
72 |
<%end dn_invnumber%>%
|
|
73 |
\end{SimpleTabular}
|
|
74 | 74 |
|
75 | 75 |
|
76 |
\smallskip |
|
76 |
\smallskip
|
|
77 | 77 |
|
78 |
\bitteZahlenBis~<%dunning_duedate%>. |
|
78 |
\bitteZahlenBis~<%dunning_duedate%>.
|
|
79 | 79 |
|
80 | 80 |
|
81 |
\beruecksichtigtBis~<%dunning_date%>. |
|
81 |
\beruecksichtigtBis~<%dunning_date%>.
|
|
82 | 82 |
|
83 | 83 |
|
84 |
\schonGezahlt |
|
84 |
\schonGezahlt
|
|
85 | 85 |
|
86 |
\closing{\gruesse} |
|
86 |
\closing{\gruesse}
|
|
87 | 87 |
|
88 | 88 |
\end{letter} |
89 | 89 |
|
Auch abrufbar als: Unified diff
unify identation