Revision fabf7c3a
Von Marei Peischl vor fast 5 Jahren hinzugefügt
zahlungserinnerung_invoice.tex | ||
---|---|---|
18 | 18 |
|
19 | 19 |
\begin{document} |
20 | 20 |
|
21 |
\begin{minipage}[t]{8cm} |
|
22 |
\scriptsize |
|
23 |
|
|
24 |
{\color{gray}\underline{\firma\ $\cdot$ \strasse\ $\cdot$ \ort}} |
|
25 |
\normalsize |
|
26 |
|
|
27 |
\vspace*{0.3cm} |
|
28 |
|
|
29 |
<%name%> |
|
30 |
|
|
31 |
<%if department_1%><%department_1%><%end if%> |
|
32 |
|
|
33 |
<%if department_2%><%department_2%><%end if%> |
|
34 |
|
|
35 |
<%cp_givenname%> <%cp_name%> |
|
36 |
|
|
37 |
<%street%> |
|
38 |
|
|
39 |
~ |
|
40 |
|
|
41 |
<%zipcode%> <%city%> |
|
42 |
|
|
43 |
<%country%> |
|
44 |
\end{minipage} |
|
45 |
\hfill |
|
46 |
\begin{minipage}[t]{6cm} |
|
47 |
\hfill{\LARGE\textbf{\rechnung}} |
|
48 |
|
|
49 |
\vspace*{0.2cm} |
|
50 |
|
|
51 |
\hfill{\large\textbf{\nr ~<%invnumber%>}} |
|
52 |
|
|
53 |
\vspace*{0.2cm} |
|
54 |
|
|
55 |
\rechnungsdatum:\hfill <%invdate%> |
|
56 |
|
|
57 |
\mahnung~\nr:\hfill <%dunning_id%> |
|
58 |
|
|
59 |
\kundennummer:\hfill <%customernumber%> |
|
60 |
|
|
61 |
\ansprechpartner:\hfill <%employee_name%> |
|
62 |
|
|
63 |
<%if globalprojectnumber%> \projektnummer:\hfill <%globalprojectnumber%> <%end globalprojectnumber%> |
|
64 |
\end{minipage} |
|
65 |
|
|
66 |
\vspace*{1.5cm} |
|
67 |
|
|
68 |
\hfill |
|
21 |
\setkomavar{title}{ |
|
22 |
\rechnung~ |
|
23 |
\nr ~<%invnumber%> |
|
24 |
} |
|
25 |
\setkomavar*{date}{\rechnungsdatum} |
|
26 |
\setkomavar{date}{<%invdate%>} |
|
27 |
\setkomavar*{myref}{\mahnung~\nr} |
|
28 |
\setkomavar{myref}{<%dunning_id%>} |
|
29 |
\setkomavar{customer}{<%customernumber%>} |
|
30 |
\setkomavar{fromname}{<%employee_name%>} |
|
31 |
\setkomavar{fromphone}{<%employee_tel%>} |
|
32 |
\setkomavar{fromemail}{<%employee_email%>} |
|
33 |
<%if globalprojectnumber%> |
|
34 |
\setkomavar{projectID}{<%globalprojectnumber%>} |
|
35 |
<%end globalprojectnumber%> |
|
36 |
\setkomavar{transaction}{<%transaction_description%>} |
|
37 |
|
|
38 |
\begin{letter}{ |
|
39 |
<%name%>\strut\\ |
|
40 |
<%if department_1%><%department_1%>\\<%end if%> |
|
41 |
<%if department_2%><%department_2%>\\<%end if%> |
|
42 |
<%cp_givenname%> <%cp_name%>\strut\\ |
|
43 |
<%street%>\strut\\ |
|
44 |
<%zipcode%> <%city%>\strut\\ |
|
45 |
<%country%> \strut |
|
46 |
} |
|
69 | 47 |
|
70 | 48 |
% Anrede nach Geschlecht unterscheiden |
71 |
\ifthenelse{\equal{<%cp_name%>}{}}{\anrede}{ |
|
72 |
\ifthenelse{\equal{<%cp_gender%>}{f}} |
|
73 |
{\anredefrau}{\anredeherr} <%cp_title%> <%cp_name%>,}\\ |
|
49 |
\opening{ |
|
50 |
\ifstr{<%cp_name%>}{} |
|
51 |
{\anrede} |
|
52 |
{ |
|
53 |
\ifstr{<%cp_gender%>}{f} |
|
54 |
{\anredefrau} |
|
55 |
{\anredeherr} |
|
56 |
<%cp_title%> <%cp_name%>, |
|
57 |
} |
|
58 |
} |
|
59 |
\thispagestyle{kivitendo.letter.first} |
|
74 | 60 |
|
75 |
\mahnungsrechnungsformel\\
|
|
61 |
\mahnungsrechnungsformel |
|
76 | 62 |
|
77 |
\vspace{0.5cm} |
|
78 | 63 |
|
79 | 64 |
|
80 | 65 |
\setlength\LTleft\parindent % Tabelle beginnt am linken Textrand |
... | ... | |
115 | 100 |
|
116 | 101 |
\bitteZahlenBis~<%duedate%>. |
117 | 102 |
|
118 |
\vspace*{0.5cm}
|
|
103 |
\closing{\gruesse}
|
|
119 | 104 |
|
120 |
\gruesse \\ \\ \\ |
|
121 |
<%employee_name%> |
|
105 |
\end{letter} |
|
122 | 106 |
|
123 | 107 |
\end{document} |
Auch abrufbar als: Unified diff
new structure to zahlungserinnerung_invoice.tex