EK-Bericht Suchoptionen für Sollkonto und Erfassungsdatum
[kivitendo-erp.git] / templates / print / marei / receipt.tex
1 \documentclass[paper=a4]{scrartcl}
2 \usepackage[reffields,backaddress=false]{kiviletter}
3
4 % Variablen, die in settings verwendet werden
5 \newcommand{\lxlangcode} {<%template_meta.language.template_code%>}
6 \newcommand{\lxmedia} {<%media%>}
7 \newcommand{\lxcurrency} {<%currency%>}
8 \newcommand{\kivicompany} {<%employee_company%>}
9
10 % settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile
11 \input{insettings.tex}
12
13 \KOMAoptions{fontsize=9pt}
14
15
16 \setplength{firstheadvpos}{4cm}
17
18 \setkomavar{firsthead}{
19         \noindent\begin{tabular}[t]{@{}l@{}}
20                 <%company%>\strut\\
21                 <%address%>
22         \end{tabular}
23         \hfill
24         <%source%>\par
25         \medskip
26         <%text\_amount%> \dotfill <%decimal%>/100 \par\smallskip
27         \hfill <%datepaid%> \hspace{2cm}\strut<%amount%>
28 }
29
30
31 \begin{document}
32
33 \begin{letter}{
34                 <%name%>\ifhmode\\\fi
35                 <%street%>\ifhmode\\\fi
36                 <%zipcode%> <%city%>\ifhmode\\\fi
37                 <%country%>%
38         }
39
40 \opening{<%company%>}
41 \pagestyle{empty}
42
43 <%name%> \hfill <%datepaid%> \hfill <%source%>%
44
45 \begin{SimpleTabular}[colspec=lXrr,headline={\bfseries\rechnung&\bfseries\ausgestellt&\bfseries\faellig&\bfseries\verrechnet}]
46 <%foreach invnumber%>%
47 <%invnumber%> & <%invdate%> & <%due%> & <%paid%> \\
48 <%end invnumber%>%
49 \end{SimpleTabular}
50
51 \end{letter}
52
53 \end{document}
54