4 % Variablen, die in settings verwendet werden
5 \newcommand{\lxlangcode} {<%template_meta.language.template_code%>}
6 \newcommand{\lxmedia} {<%media%>}
7 \newcommand{\lxcurrency} {<%currency%>}
8 \newcommand{\kivicompany} {<%employee_company%>}
10 % settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile
11 \input{insettings.tex}
15 \ourhead{\kundennummer}{<%customernumber%>}{\angebot}{<%quonumber%>}{<%transdate%>}
20 \setkomavar{signature}{
21 <%employee_company%>\ifhmode\\\fi<%salesman_name%>
24 \begin{minipage}[t]{8cm}
27 {\color{gray}\underline{\firma\ $\cdot$ \strasse\ $\cdot$ \ort}}
34 <%if department_1%><%department_1%><%end if%>
36 <%if department_2%><%department_2%><%end if%>
38 <%cp_givenname%> <%cp_name%>
49 \begin{minipage}[t]{6cm}
50 \hfill{\LARGE\textbf{\angebot}}
54 \hfill{\large\textbf{\nr ~<%quonumber%>}}
58 \datum:\hfill <%transdate%>
60 \kundennummer:\hfill <%customernumber%>
62 \ansprechpartner:\hfill <%employee_name%>
64 \textTelefon \hfill <%employee_tel%>
66 \textEmail \hfill <%employee_email%>
72 \scriptsize \underline{\abweichendeLieferadresse:}\\
73 \normalsize <%shiptoname%>
75 <%if shiptocontact%> <%shiptocontact%><%end if%>
77 <%shiptodepartment_1%>
79 <%shiptodepartment_2%>
83 <%shiptozipcode%> <%shiptocity%>
92 <%if department_1%><%department_1%><%end if%>\\
93 <%if department_2%><%department_2%><%end if%>\\
94 <%cp_givenname%> <%cp_name%>\\
96 <%zipcode%> <%city%>\\
100 % Anrede nach Geschlecht unterscheiden
102 \ifstr{<%cp_name%>}{}
105 \ifstr{<%cp_gender%>}{f}
108 <%cp_title%> <%cp_name%>,
111 \thispagestyle{kivitendo.letter.first}
116 \begin{PricingTabular}
117 % Tabellenende letzte Seite
119 \multicolumn{5}{@{}l}{\nettobetrag} & <%subtotal%>\\
121 \multicolumn{5}{@{}l}{<%taxdescription%>} & <%tax%>\\
123 \multicolumn{5}{@{}l}{\bfseries\schlussbetrag} & \textbf{<%ordtotal%>}\\
126 % eigentliche Tabelle
130 \textbf{<%description%>}
131 <%if longdescription%> \newline\scriptsize <%longdescription%><%end longdescription%>
132 <%if serialnumber%> \newline\scriptsize \seriennummer: <%serialnumber%><%end serialnumber%>
133 <%if ean%> \newline\scriptsize \ean: <%ean%><%end ean%>
134 <%if projectnumber%>\newline\scriptsize \projektnummer: <%projectnumber%><%end projectnumber%>
138 \ifstr{<%p_discount%>}{0}{}{\sffamily\scriptsize{(-<%p_discount%>\,\%)}}
149 \lieferung ~<%delivery_term.description_long%>\\
150 <%end delivery_term%>
154 \angebotgueltig~<%reqdate%>.
163 \begin{minipage}{\textwidth}
164 \auftragerteilt\par\bigskip
165 \nurort:\rule[-.5ex]{8cm}{.2pt}\ ,\den\ \rule[-.5ex]{5cm}{.2pt}\par\bigskip
167 \unterschrift/\stempel:\rule[-.5ex]{6cm}{.2pt}