Revision c103e04b
Von Marei Peischl vor fast 5 Jahren hinzugefügt
request_quotation.tex | ||
---|---|---|
17 | 17 |
|
18 | 18 |
|
19 | 19 |
\begin{document} |
20 |
|
|
21 |
\ourfont |
|
22 |
\begin{minipage}[t]{8cm} |
|
23 |
\scriptsize |
|
24 |
|
|
25 |
{\color{gray}\underline{\firma\ $\cdot$ \strasse\ $\cdot$ \ort}} |
|
26 |
\normalsize |
|
27 |
|
|
28 |
\vspace*{0.3cm} |
|
29 |
|
|
30 |
<%name%> |
|
31 |
|
|
32 |
<%if department_1%><%department_1%><%end if%> |
|
33 |
|
|
34 |
<%if department_2%><%department_2%><%end if%> |
|
35 |
|
|
36 |
<%cp_givenname%> <%cp_name%> |
|
37 |
|
|
38 |
<%street%> |
|
39 |
|
|
40 |
~ |
|
41 |
|
|
42 |
<%zipcode%> <%city%> |
|
43 |
|
|
44 |
<%country%> |
|
45 |
\end{minipage} |
|
46 |
\hfill |
|
47 |
\begin{minipage}{6cm} |
|
48 |
\rightline{\LARGE\textbf{\textit{\anfrage}}} \vspace*{0.2cm} |
|
49 |
\rightline{\large\textbf{\textit{\nr ~<%quonumber%>% |
|
50 |
}}} \vspace*{0.2cm} |
|
51 |
|
|
52 |
\datum:\hfill <%transdate%> |
|
53 |
|
|
54 |
\ansprechpartner:\hfill <%employee_name%> |
|
55 |
|
|
56 |
<%if globalprojectnumber%> \projektnummer:\hfill <%globalprojectnumber%> <%end globalprojectnumber%> |
|
57 |
\end{minipage} |
|
58 |
|
|
59 |
\vspace*{1.5cm} |
|
60 |
|
|
61 |
\hfill |
|
20 |
\setkomavar*{date}{\datum} |
|
21 |
|
|
22 |
\setkomavar{date}{<%transdate%>} |
|
23 |
\setkomavar{customer}{<%customernumber%>} |
|
24 |
\setkomavar{fromname}{<%employee_name%>} |
|
25 |
\setkomavar{fromphone}{<%employee_tel%>} |
|
26 |
\setkomavar{fromemail}{<%employee_email%>} |
|
27 |
\setkomavar{title}{ |
|
28 |
\anfrage~ |
|
29 |
\nr ~<%quonumber%> |
|
30 |
} |
|
31 |
<%if globalprojectnumber%> |
|
32 |
\setkomavar{projectID}{<%globalprojectnumber%>} |
|
33 |
<%end globalprojectnumber%> |
|
34 |
\setkomavar{transaction}{<%transaction_description%>} |
|
35 |
|
|
36 |
\begin{letter}{ |
|
37 |
<%name%>\strut\\ |
|
38 |
<%if department_1%><%department_1%>\\<%end if%> |
|
39 |
<%if department_2%><%department_2%>\\<%end if%> |
|
40 |
<%cp_givenname%> <%cp_name%>\strut\\ |
|
41 |
<%street%>\strut\\ |
|
42 |
<%zipcode%> <%city%>\strut\\ |
|
43 |
<%country%> \strut |
|
44 |
} |
|
62 | 45 |
|
63 | 46 |
% Anrede nach Geschlecht unterscheiden |
64 |
\ifthenelse{\equal{<%cp_name%>}{}}{\anrede}{ |
|
65 |
\ifthenelse{\equal{<%cp_gender%>}{f}} |
|
66 |
{\anredefrau}{\anredeherr} <%cp_title%> <%cp_name%>,}\\ |
|
67 |
|
|
68 |
\anfrageformel\\ |
|
47 |
\opening{ |
|
48 |
\ifstr{<%cp_name%>}{} |
|
49 |
{\anrede} |
|
50 |
{ |
|
51 |
\ifstr{<%cp_gender%>}{f} |
|
52 |
{\anredefrau} |
|
53 |
{\anredeherr} |
|
54 |
<%cp_title%> <%cp_name%>, |
|
55 |
} |
|
56 |
} |
|
57 |
\thispagestyle{kivitendo.letter.first} |
|
69 | 58 |
|
70 |
\vspace*{0.5cm}
|
|
59 |
\anfrageformel
|
|
71 | 60 |
|
72 | 61 |
|
73 | 62 |
% |
... | ... | |
109 | 98 |
\textbf{<%description%>} \\* % kein Umbruch nach der ersten Zeile, damit Beschreibung und Langtext nicht getrennt werden |
110 | 99 |
|
111 | 100 |
<%if longdescription%> && \scriptsize <%longdescription%>\\<%end longdescription%> |
112 |
<%if projectnumber%> && \scriptsize \projektnummer: <%projectnumber%>\\<%end projectnumber%> |
|
113 |
|
|
101 |
% <%if projectnumber%> && \scriptsize \projektnummer: <%projectnumber%>\\<%end projectnumber%> |
|
114 | 102 |
<%if make%> |
115 | 103 |
<%foreach make%> |
116 |
\ifthenelse{\equal{<%make%>}{<%name%>}}{&& \artikelnummer: <%model%>\\}{}
|
|
104 |
\ifstr{<%make%>}{<%name%>}{&& \artikelnummer: <%model%>\\}{}
|
|
117 | 105 |
<%end foreach%> |
118 | 106 |
<%end if%> |
119 | 107 |
|
... | ... | |
122 | 110 |
|
123 | 111 |
\end{longtable} |
124 | 112 |
|
125 |
|
|
126 |
\vspace{0.2cm} |
|
127 |
|
|
128 | 113 |
<%if notes%> |
129 |
\vspace{5mm} |
|
130 |
<%notes%> |
|
131 |
\vspace{5mm} |
|
114 |
<%notes%> |
|
115 |
\medskip |
|
132 | 116 |
<%end if%> |
133 | 117 |
|
118 |
|
|
134 | 119 |
<%if delivery_term%> |
135 | 120 |
\lieferung ~<%delivery_term.description_long%>\\ |
136 | 121 |
<%end delivery_term%> |
... | ... | |
139 | 124 |
\anfrageBenoetigtBis~<%reqdate%>. |
140 | 125 |
<%end if%> |
141 | 126 |
|
142 |
\anfragedanke\\ |
|
127 |
\anfragedanke |
|
128 |
|
|
129 |
\closing{\gruesse} |
|
143 | 130 |
|
144 |
\gruesse \\ \\ \\ |
|
145 |
<%employee_name%> |
|
131 |
\end{letter} |
|
146 | 132 |
|
147 | 133 |
\end{document} |
Auch abrufbar als: Unified diff
new structure for request_quotation.tex