EK-Bericht Suchoptionen für Sollkonto und Erfassungsdatum
[kivitendo-erp.git] / templates / print / marei / request_quotation.tex
1 \documentclass[paper=a4,fontsize=10pt]{scrartcl}
2 \usepackage{kiviletter}
3
4
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%>}
10
11 % settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile
12 \input{insettings.tex}
13
14
15 % laufende Kopfzeile:
16 \ourhead{}{}{\anfrage}{<%quonumber%>}{<%transdate%>}
17
18
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%>}
25 \setkomavar{title}{
26         \anfrage~
27         \nr ~<%quonumber%>%
28 }
29 <%if globalprojectnumber%>%
30         \setkomavar{projectID}{<%globalprojectnumber%>}
31 <%end globalprojectnumber%>%
32
33 \setkomavar{transaction}{<%transaction_description%>}
34
35 \begin{document}
36
37 \begin{letter}{
38                 <%name%>\strut\\
39                 <%if department_1%><%department_1%>\\<%end if%>%
40                 <%if department_2%><%department_2%>\\<%end if%>%
41                 <%cp_givenname%> <%cp_name%>\strut\\
42                 <%street%>\strut\\
43                 <%zipcode%> <%city%>\strut\\
44                 <%country%> \strut
45         }
46
47 % Bei Kontaktperson Anrede nach Geschlecht unterscheiden.
48 % Bei natürlichen Personen persönliche Anrede, sonst allgemeine Anrede.
49 \opening{
50         \Ifstr{<%cp_name%>}{}
51                 {<%if natural_person%><%greeting%> <%name%>,<%else%>\anrede<%end if%>}
52                 {
53                         \Ifstr{<%cp_gender%>}{f}
54                                 {\anredefrau}
55                                 {\anredeherr}
56                                 <%cp_title%> <%cp_name%>,
57                 }
58 }
59 \thispagestyle{kivitendo.letter.first}
60
61 \anfrageformel
62
63 \begin{PricingTabular*}[columns={pos,amount,desc}]
64 % eigentliche Tabelle
65 \FakeTable{
66 <%foreach number%>%
67         <%runningnumber%> &
68         <%qty%> <%unit%> &
69         \textbf{<%description%>}
70         <%if longdescription%>\ExtraDescription{<%longdescription%>}<%end longdescription%>%
71         <%if projectnumber%>\ExtraDescription{\projektnummer: <%projectnumber%>}<%end projectnumber%>%
72         <%if make%>%
73                 <%foreach make%>%
74                         \Ifstr{<%make%>}{<%name%>}{\ExtraDescription{\artikelnummer: <%model%>}}{}
75                 <%end foreach%>%
76         <%end if%>%
77         \tabularnewline
78 <%end number%>%
79 }%
80 \end{PricingTabular*}
81
82
83 <%if notes%>%
84 <%notes%>%
85 \medskip
86 <%end if%>%
87
88
89 <%if delivery_term%>%
90   \lieferung ~<%delivery_term.description_long%>\\
91 <%end delivery_term%>%
92
93 <%if reqdate%>%
94 \anfrageBenoetigtBis~<%reqdate%>.
95 <%end if%>%
96
97 \anfragedanke
98
99 \closing{\gruesse}
100
101 \end{letter}
102
103 \end{document}