kivitendo/templates/print/RB/letter.tex @ 88fc44c8
7afe92af | Moritz Bunkus | % config: use-template-toolkit=1
|
||
% config: tag-style=$( )$
|
||||
$( USE KiviLatex )$
|
||||
$( USE P )$
|
||||
db7a2e79 | Sven Schöling | $( SET customer = letter.customer_vendor )$
|
||
cb22586c | Bernd Bleßmann | \input{inheaders.tex}
|
||
7afe92af | Moritz Bunkus | $( KiviLatex.required_packages_for_html )$
|
||
a9b2cbe2 | Jan Büren | |||
cb22586c | Bernd Bleßmann | % Variablen, die in settings verwendet werden
|
||
7afe92af | Moritz Bunkus | \newcommand{\lxlangcode}{$(template_meta.language.template_code)$}
|
||
\newcommand{\lxmedia}{$(template_meta.media)$}
|
||||
\newcommand{\lxcurrency}{}
|
||||
2200aefd | Jan Büren | \newcommand{\kivicompany}{$(employee_company)$}
|
||
a9b2cbe2 | Jan Büren | |||
cb22586c | Bernd Bleßmann | % settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile
|
||
\input{insettings.tex}
|
||||
a9b2cbe2 | Jan Büren | |||
589a9157 | Bernd Bleßmann | % laufende Kopfzeile:
|
||
7afe92af | Moritz Bunkus | %\ourhead{}{}{$( KiviLatex.filter(letter.subject) )$}{$( KiviLatex.filter(letter.letternumber) )$}{$( KiviLatex.filter(letter.date.to_kivitendo) )$}
|
||
589a9157 | Bernd Bleßmann | \ourhead{}{}{}{}{}
|
||
a9b2cbe2 | Jan Büren | |||
589a9157 | Bernd Bleßmann | \begin{document}
|
||
a9b2cbe2 | Jan Büren | |||
\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
|
||||
\vspace*{1cm}
|
||||
\begin{minipage}{14cm}
|
||||
7afe92af | Moritz Bunkus | $( KiviLatex.filter(customer.name) )$
|
||
a9b2cbe2 | Jan Büren | |||
546829a0 | Moritz Bunkus | $( KiviLatex.filter(letter.contact.formal_greeting) )$
|
||
a9b2cbe2 | Jan Büren | |||
7afe92af | Moritz Bunkus | $( KiviLatex.filter(customer.street) )$
|
||
704b4a53 | Geoffrey Richardson | |||
7afe92af | Moritz Bunkus | $( KiviLatex.filter(customer.zipcode) )$ $( KiviLatex.filter(customer.city) )$
|
||
a9b2cbe2 | Jan Büren | |||
7afe92af | Moritz Bunkus | $( KiviLatex.filter(customer.country) )$
|
||
a9b2cbe2 | Jan Büren | |||
\end{minipage}
|
||||
\vspace{2.5cm}
|
||||
7afe92af | Moritz Bunkus | \hfill $( KiviLatex.filter(letter.date.to_kivitendo) )$
|
||
64c836e6 | Jan Büren | |||
7afe92af | Moritz Bunkus | $( IF letter.reference )$
|
||
\textbf{\ihrzeichen : $( KiviLatex.filter(letter.reference) )$}
|
||||
64c836e6 | Jan Büren | |||
704b4a53 | Geoffrey Richardson | \vspace{1cm}
|
||
7afe92af | Moritz Bunkus | $( END )$
|
||
64c836e6 | Jan Büren | |||
7afe92af | Moritz Bunkus | $( IF letter.subject )$
|
||
\textbf{\betreff : $( KiviLatex.filter(letter.subject) )$}
|
||||
a9b2cbe2 | Jan Büren | |||
\vspace{1cm}
|
||||
7afe92af | Moritz Bunkus | $( END )$
|
||
a9b2cbe2 | Jan Büren | |||
7afe92af | Moritz Bunkus | $( KiviLatex.filter(letter.greeting) )$
|
||
a9b2cbe2 | Jan Büren | |||
\vspace{0.5cm}
|
||||
7afe92af | Moritz Bunkus | $( KiviLatex.filter_html(letter.body) )$
|
||
a9b2cbe2 | Jan Büren | |||
\vspace{0.5cm}
|
||||
\begin{minipage}{6cm}
|
||||
7afe92af | Moritz Bunkus | \textbf{$( KiviLatex.filter(letter.employee.name) )$}
|
||
a9b2cbe2 | Jan Büren | |||
\end{minipage}
|
||||
\begin{minipage}{6cm}
|
||||
7afe92af | Moritz Bunkus | \textbf{$( KiviLatex.filter(letter.salesman.name) )$}
|
||
a9b2cbe2 | Jan Büren | |||
\end{minipage}
|
||||
\end{document}
|