ActionBar: Übersetzungen
[kivitendo-erp.git] / templates / print / RB / letter.tex
1 % config: use-template-toolkit=1
2 % config: tag-style=$( )$
3 $( USE KiviLatex )$
4 $( USE P )$
5 $( SET customer = letter.customer_vendor )$
6 \input{inheaders.tex}
7 $( KiviLatex.required_packages_for_html )$
8
9 % Variablen, die in settings verwendet werden
10 \newcommand{\lxlangcode}{$(template_meta.language.template_code)$}
11 \newcommand{\lxmedia}{$(template_meta.media)$}
12 \newcommand{\lxcurrency}{}
13 \newcommand{\kivicompany}{$(employee_company)$}
14
15 % settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile
16 \input{insettings.tex}
17
18 % laufende Kopfzeile:
19 %\ourhead{}{}{$( KiviLatex.filter(letter.subject) )$}{$( KiviLatex.filter(letter.letternumber) )$}{$( KiviLatex.filter(letter.date.to_kivitendo) )$}
20 \ourhead{}{}{}{}{}
21
22 \begin{document}
23
24 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
25
26 \vspace*{1cm}
27
28 \begin{minipage}{14cm}
29
30   $( KiviLatex.filter(customer.name) )$
31
32   $( KiviLatex.filter(letter.contact.formal_greeting) )$
33
34   $( KiviLatex.filter(customer.street) )$
35
36   $( KiviLatex.filter(customer.zipcode) )$ $( KiviLatex.filter(customer.city) )$
37
38   $( KiviLatex.filter(customer.country) )$
39
40 \end{minipage}
41
42 \vspace{2.5cm}
43 \hfill $( KiviLatex.filter(letter.date.to_kivitendo) )$
44
45 $( IF letter.reference )$
46 \textbf{\ihrzeichen : $( KiviLatex.filter(letter.reference) )$}
47
48 \vspace{1cm}
49 $( END )$
50
51 $( IF letter.subject )$
52 \textbf{\betreff : $( KiviLatex.filter(letter.subject) )$}
53
54 \vspace{1cm}
55 $( END )$
56
57 $( KiviLatex.filter(letter.greeting) )$
58
59 \vspace{0.5cm}
60
61 $( KiviLatex.filter_html(letter.body) )$
62
63 \vspace{0.5cm}
64
65 \begin{minipage}{6cm}
66
67 \textbf{$( KiviLatex.filter(letter.employee.name) )$}
68
69 \end{minipage}
70 \begin{minipage}{6cm}
71
72 \textbf{$( KiviLatex.filter(letter.salesman.name) )$}
73
74 \end{minipage}
75
76 \end{document}