7907ebe22e06100834f512bb498b2348c01f29ba
[kivitendo-erp.git] / templates / print / marei / bin_list.tex
1 \documentclass[twoside,parskip=half-]{scrartcl}
2 \usepackage[reffields,backaddress=false,addrfield=topaligned,nofooter]{kiviletter}
3
4 % Variablen, die in settings verwendet werden
5 \newcommand{\lxlangcode} {<%template_meta.language.template_code%>}
6
7 % settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile
8 \input{insettings.tex}
9
10 \KOMAoptions{fontsize=10pt}
11 \begin{document}
12
13 \setkomavar{title}{\lagerliste}
14
15 \setkomavar{firsthead}{
16   \normalsize
17   \noindent\begin{tabular}[t]{@{}l@{}}
18     <%company%>\strut\\
19     <%address%>
20   \end{tabular}
21   \hfill
22   \begin{tabular}[t]{rr@{}}
23     Tel & < %tel%>\\
24     Fax & < %fax%>%
25   \end{tabular}
26   \rule{\linewidth}{\heavyrulewidth}
27 }
28
29 \makeatletter
30 \setkomavar{location}{
31   \backaddr@format{\scriptsize\usekomafont{backaddress}%
32     \strut\lieferanschrift
33   }
34   \par\medskip\setlength{\parskip}{\z@}
35   \normalsize
36   <%shiptoname%>\par
37   <%if shiptocontact%> <%shiptocontact%><%end if%>\par
38   <%shiptodepartment_1%>\par
39   <%shiptodepartment_2%>\par
40   <%shiptostreet%>\par
41   <%shiptozipcode%> <%shiptocity%>%
42 }
43 \makeatother
44
45 \begin{letter}{
46 <%name%>\ifhmode\\\fi
47 <%street%>\ifhmode\\\fi
48 <%zipcode%> <%city%>\ifhmode\\\fi
49 <%country%>
50 }
51
52 \opening{}
53
54 \begin{SimpleTabular}[colspec=*6X,headline={\bfseries\bestellnummer&\bfseries\datum&\bfseries\kontakt
55         <%if warehouse%>%
56         &\bfseries\lager%
57         <%end warehouse%>%
58         &\bfseries\lagerplatz&\bfseries\lieferungMit}]
59
60   <%ordnumber%>%
61   &%
62   <%if shippingdate%>%
63   <%shippingdate%>%
64   <%end shippingdate%>%
65   <%if not shippingdate%>%
66   <%orddate%>%
67   <%end shippingdate%>%
68   & <%employee%>%
69   <%if warehouse%>%
70   & <%warehouse%>%
71   <%end warehouse%>%
72   & <%shippingpoint%> & <%shipvia%> \\
73 \end{SimpleTabular}
74
75 \bigskip
76
77 \begin{SimpleTabular}[colspec=rlXllrrll,headline={\bfseries\position&\bfseries\nummer&\bfseries\beschreibung&\bfseries\seriennummer & &\bfseries\menge&\bfseries\erh&&\bfseries\lagerplatz}]
78   <%foreach number%>%
79   <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
80   <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
81   <%end number%>%
82 \end{SimpleTabular}
83
84 \end{letter}
85
86 \end{document}
87