1 \documentclass[paper=a4,fontsize=10pt]{scrartcl}
2 \usepackage{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{}{}{\anfrage}{<%quonumber%>}{<%transdate%>}
19 \setkomavar*{date}{\datum}
20 \setkomavar{date}{<%transdate%>}
21 \setkomavar{customer}{<%customernumber%>}
22 \setkomavar{fromname}{<%employee_name%>}
23 \setkomavar{fromphone}{<%employee_tel%>}
24 \setkomavar{fromemail}{<%employee_email%>}
29 <%if globalprojectnumber%>%
30 \setkomavar{projectID}{<%globalprojectnumber%>}
31 <%end globalprojectnumber%>%
33 \setkomavar{transaction}{<%transaction_description%>}
39 <%if department_1%><%department_1%>\\<%end if%>%
40 <%if department_2%><%department_2%>\\<%end if%>%
41 <%cp_givenname%> <%cp_name%>\strut\\
43 <%zipcode%> <%city%>\strut\\
47 % Bei Kontaktperson Anrede nach Geschlecht unterscheiden.
48 % Bei natürlichen Personen persönliche Anrede, sonst allgemeine Anrede.
51 {<%if natural_person%><%greeting%> <%name%>,<%else%>\anrede<%end if%>}
53 \Ifstr{<%cp_gender%>}{f}
56 <%cp_title%> <%cp_name%>,
59 \thispagestyle{kivitendo.letter.first}
63 \begin{PricingTabular*}[columns={pos,amount,desc}]
69 \textbf{<%description%>}
70 <%if longdescription%>\ExtraDescription{<%longdescription%>}<%end longdescription%>%
71 <%if projectnumber%>\ExtraDescription{\projektnummer: <%projectnumber%>}<%end projectnumber%>%
74 \Ifstr{<%make%>}{<%name%>}{\ExtraDescription{\artikelnummer: <%model%>}}{}
90 \lieferung ~<%delivery_term.description_long%>\\
91 <%end delivery_term%>%
94 \anfrageBenoetigtBis~<%reqdate%>.