Revision 3d229eb9
Von Marei Peischl vor mehr als 3 Jahren hinzugefügt
templates/print/marei/statement.tex | ||
---|---|---|
29 | 29 |
\begin{document} |
30 | 30 |
|
31 | 31 |
\begin{letter}{ |
32 |
<%name%>\strut\\
|
|
33 |
<%if department_1%><%department_1%>\\<%end if%>%
|
|
34 |
<%if department_2%><%department_2%>\\<%end if%>%
|
|
35 |
<%cp_givenname%> <%cp_name%>\strut\\
|
|
36 |
<%street%>\strut\\
|
|
37 |
<%zipcode%> <%city%>\strut\\
|
|
38 |
<%country%> \strut
|
|
39 |
}
|
|
32 |
<%name%>\strut\\ |
|
33 |
<%if department_1%><%department_1%>\\<%end if%>% |
|
34 |
<%if department_2%><%department_2%>\\<%end if%>% |
|
35 |
<%cp_givenname%> <%cp_name%>\strut\\ |
|
36 |
<%street%>\strut\\ |
|
37 |
<%zipcode%> <%city%>\strut\\ |
|
38 |
<%country%> \strut |
|
39 |
} |
|
40 | 40 |
|
41 | 41 |
% Bei Kontaktperson Anrede nach Geschlecht unterscheiden. |
42 | 42 |
% Bei natürlichen Personen persönliche Anrede, sonst allgemeine Anrede. |
43 | 43 |
\opening{ |
44 |
\Ifstr{<%cp_name%>}{}
|
|
45 |
{<%if natural_person%><%greeting%> <%name%>,<%else%>\anrede<%end if%>}
|
|
46 |
{
|
|
47 |
\Ifstr{<%cp_gender%>}{f}
|
|
48 |
{\anredefrau}
|
|
49 |
{\anredeherr}
|
|
50 |
<%cp_title%> <%cp_name%>,
|
|
51 |
}
|
|
52 |
} |
|
44 |
\Ifstr{<%cp_name%>}{} |
|
45 |
{<%if natural_person%><%greeting%> <%name%>,<%else%>\anrede<%end if%>} |
|
46 |
{
|
|
47 |
\Ifstr{<%cp_gender%>}{f}
|
|
48 |
{\anredefrau}
|
|
49 |
{\anredeherr}
|
|
50 |
<%cp_title%> <%cp_name%>,
|
|
51 |
}
|
|
52 |
}
|
|
53 | 53 |
\thispagestyle{kivitendo.letter.first} |
54 | 54 |
|
55 | 55 |
\sammelrechnungsformel |
56 | 56 |
|
57 | 57 |
\begin{SimpleTabular}[ |
58 |
colspec=l*6X,
|
|
59 |
headline={\bfseries\rechnung~\nr & \bfseries\datum & \bfseries\faellig &
|
|
60 |
\bfseries\aktuell & \bfseries\asDreissig & \bfseries\asSechzig & \bfseries\asNeunzig}
|
|
61 |
] |
|
62 |
% eigentliche Tabelle |
|
63 |
<%foreach invnumber%>% |
|
64 |
<%invnumber%> & <%invdate%> & <%duedate%> &
|
|
65 |
<%c0%> & <%c30%> & <%c60%> & <%c90%> \\
|
|
66 |
<%end invnumber%>% |
|
67 |
% Tabellenende letzte Seite |
|
68 |
\midrule[\heavyrulewidth] |
|
69 |
\multicolumn{3}{@{}l}{\bfseries\zwischensumme} & \bfseries<%c0total%> & \bfseries<%c30total%> & \bfseries<%c60total%> & \bfseries<%c90total%>\\* |
|
70 |
\midrule |
|
71 |
\multicolumn{3}{@{}l}{\bfseries\schlussbetrag} & &&&\bfseries<%total%> \\ |
|
58 |
colspec=l*6X,
|
|
59 |
headline={\bfseries\rechnung~\nr & \bfseries\datum & \bfseries\faellig &
|
|
60 |
\bfseries\aktuell & \bfseries\asDreissig & \bfseries\asSechzig & \bfseries\asNeunzig}
|
|
61 |
]
|
|
62 |
% eigentliche Tabelle
|
|
63 |
<%foreach invnumber%>%
|
|
64 |
<%invnumber%> & <%invdate%> & <%duedate%> &
|
|
65 |
<%c0%> & <%c30%> & <%c60%> & <%c90%> \\
|
|
66 |
<%end invnumber%>%
|
|
67 |
% Tabellenende letzte Seite
|
|
68 |
\midrule[\heavyrulewidth]
|
|
69 |
\multicolumn{3}{@{}l}{\bfseries\zwischensumme} & \bfseries<%c0total%> & \bfseries<%c30total%> & \bfseries<%c60total%> & \bfseries<%c90total%>\\*
|
|
70 |
\midrule
|
|
71 |
\multicolumn{3}{@{}l}{\bfseries\schlussbetrag} & &&&\bfseries<%total%> \\
|
|
72 | 72 |
\end{SimpleTabular} |
73 | 73 |
|
74 | 74 |
\closing{\gruesse} |
Auch abrufbar als: Unified diff
marei: adjust indentation using latexindent according to kivitendo regulations 2 spaces instead of 1 tab