1 \PassOptionsToPackage{faketable}{kiviletter}
5 % Variablen, die in settings verwendet werden
6 \newcommand{\lxlangcode} {<%template_meta.language.template_code%>}
7 \newcommand{\lxmedia} {<%media%>}
8 \newcommand{\lxcurrency} {<%currency%>}
9 \newcommand{\kivicompany} {<%employee_company%>}
11 % settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile
12 \input{insettings.tex}
16 \ourhead{\kundennummer}{<%customernumber%>}{\angebot}{<%quonumber%>}{<%transdate%>}
21 \setkomavar{signature}{%
27 \setkomavar{date}{<%transdate%>}
28 \setkomavar{customer}{<%customernumber%>}
29 \setkomavar{fromname}{<%employee_name%>}
30 \setkomavar{fromphone}{<%employee_tel%>}
31 \setkomavar{fromemail}{<%employee_email%>}
36 \large\nr ~<%quonumber%>
39 %\begin{minipage}[t]{8cm}
42 % {\color{gray}\underline{\firma\ $\cdot$ \strasse\ $\cdot$ \ort}}
49 % <%if department_1%><%department_1%><%end if%>
51 % <%if department_2%><%department_2%><%end if%>
53 % <%cp_givenname%> <%cp_name%>
59 % <%zipcode%> <%city%>
64 %\begin{minipage}[t]{6cm}
65 % \hfill{\LARGE\textbf{\angebot}}
69 % \hfill{\large\textbf{\nr ~<%quonumber%>}}
73 % \datum:\hfill <%transdate%>
75 % \kundennummer:\hfill <%customernumber%>
77 % \ansprechpartner:\hfill <%employee_name%>
79 % \textTelefon \hfill <%employee_tel%>
81 % \textEmail \hfill <%employee_email%>
87 % \scriptsize \underline{\abweichendeLieferadresse:}\\
88 % \normalsize <%shiptoname%>
90 % <%if shiptocontact%> <%shiptocontact%><%end if%>
92 % <%shiptodepartment_1%>
94 % <%shiptodepartment_2%>
98 % <%shiptozipcode%> <%shiptocity%>
107 <%if department_1%><%department_1%>\\<%end if%>
108 <%if department_2%><%department_2%>\\<%end if%>
109 <%cp_givenname%> <%cp_name%>\strut\\
111 <%zipcode%> <%city%>\strut\\
115 % Anrede nach Geschlecht unterscheiden
117 \ifstr{<%cp_name%>}{}
120 \ifstr{<%cp_gender%>}{f}
123 <%cp_title%> <%cp_name%>,
126 \thispagestyle{kivitendo.letter.first}
131 \begin{PricingTabular}
132 % Tabellenende letzte Seite
134 \multicolumn{5}{@{}l}{\nettobetrag} & <%subtotal%>\\
136 \multicolumn{5}{@{}l}{<%taxdescription%>} & <%tax%>\\
138 \multicolumn{5}{@{}l}{\bfseries\schlussbetrag} & \textbf{<%ordtotal%>}\\
141 % eigentliche Tabelle
145 \textbf{<%description%>}
146 <%if longdescription%> \newline\scriptsize <%longdescription%><%end longdescription%>
147 <%if serialnumber%> \newline\scriptsize \seriennummer: <%serialnumber%><%end serialnumber%>
148 <%if ean%> \newline\scriptsize \ean: <%ean%><%end ean%>
149 <%if projectnumber%>\newline\scriptsize \projektnummer: <%projectnumber%><%end projectnumber%>
153 \ifstr{<%p_discount%>}{0}{}{\sffamily\scriptsize{(-<%p_discount%>\,\%)}}
154 <%linetotal%>\tabularnewline
164 \lieferung ~<%delivery_term.description_long%>\\
165 <%end delivery_term%>
169 \angebotgueltig~<%reqdate%>.
178 \begin{minipage}{\textwidth}
179 \rule{\linewidth}{.2pt}\par
180 \auftragerteilt\par\bigskip
181 \nurort:\rule[-.5ex]{8cm}{.2pt}\ ,\den\ \rule[-.5ex]{5cm}{.2pt}\par\bigskip
183 \unterschrift/\stempel:\rule[-.5ex]{6cm}{.2pt}