8268b1470f33555ab78ba642c34ba2f2f9e11643
[kivitendo-erp.git] / templates / print / marei / pick_list.tex
1 \documentclass[twoside]{scrartcl}
2 \usepackage[frame]{xy}
3 \usepackage{tabularx}
4 \usepackage[utf8]{inputenc}
5 \usepackage{graphicx}
6 \setlength{\voffset}{0.5cm}
7 \setlength{\hoffset}{-2.0cm}
8 \setlength{\topmargin}{0cm}
9 \setlength{\headheight}{0.5cm}
10 \setlength{\headsep}{1cm}
11 \setlength{\topskip}{0pt}
12 \setlength{\oddsidemargin}{1.0cm}
13 \setlength{\evensidemargin}{1.0cm}
14 \setlength{\textwidth}{17cm}
15 \setlength{\textheight}{24.7cm}
16 \setlength{\footskip}{1cm}
17 \setlength{\parindent}{0pt}
18 \renewcommand{\baselinestretch}{1}
19
20 \begin{document}
21
22 \newlength{\descrwidth}\setlength{\descrwidth}{9cm}
23 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
24
25 \pagestyle{myheadings}
26 \thispagestyle{empty}
27
28 \vspace*{-1.3cm}
29
30 \parbox{\textwidth}{
31   \parbox[b]{.42\textwidth}{
32     <%company%>%
33
34     <%address%>%
35   }\hfill
36   \begin{tabular}[b]{rr@{}}
37   Tel & <%tel%>\\
38   Fax & <%fax%>%
39   \end{tabular}
40
41   \rule[1.5ex]{\textwidth}{0.5pt}
42 }
43
44 \vspace*{0.5cm}
45
46 \parbox[t]{1cm}{\hfill}
47 \parbox[t]{.5\textwidth}{
48   \textbf{Lieferanschrift}
49 } \hfill
50
51 \vspace{0.7cm}
52
53 \parbox[t]{1cm}{\hfill}
54 \parbox[t]{.5\textwidth}{
55
56 <%shiptoname%> \\
57 <%shiptostreet%> \\
58 <%shiptozipcode%> \\
59 <%shiptocity%> \\
60 <%shiptocountry%>%
61 }
62 \parbox[t]{.4\textwidth}{
63   <%shiptocontact%>%
64
65   <%if shiptophone%>%
66   Tel: <%shiptophone%>%
67   <%end shiptophone%>%
68
69   <%if shiptofax%>%
70   Fax: <%shiptofax%>%
71   <%end shiptofax%>%
72
73   <%shiptoemail%>%
74 }
75 \hfill
76
77 \vspace{1cm}
78
79 \textbf{S A M M E L L I S T E}
80 \hfill
81
82 \vspace{1cm}
83
84 \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
85   \textbf{BestellNr. \#} & \textbf{Datum} & \textbf{Kontakt}
86   <%if warehouse%>%
87   & \textbf{Lager}
88   <%end warehouse%>%
89   & \textbf{Lagerplatz} & \textbf{Lieferung mit} \\ [0.5em]
90   \hline
91   <%ordnumber%>%
92   <%if shippingdate%>%
93   & <%shippingdate%>%
94   <%end shippingdate%>%
95   <%if not shippingdate%>%
96   & <%orddate%>%
97   <%end shippingdate%>%
98   & <%employee%>%
99   <%if warehouse%>%
100   & <%warehouse%>%
101   <%end warehouse%>%
102   & <%shippingpoint%> & <%shipvia%> \\
103   \hline
104 \end{tabularx}
105
106 \vspace{1cm}
107
108 \begin{tabular*}{\textwidth}{@{}rlp{\descrwidth}@{\extracolsep\fill}rcll@{}}
109   \textbf{Pos} & \textbf{Nummer} & \textbf{Beschreibung} &
110   \textbf{Menge} & \textbf{Lagerausgang} & & \textbf{Lagerplatz} \\
111 <%foreach number%>%
112   <%runningnumber%> & <%number%> & <%description%> &
113   <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
114 <%end number%>%
115 \end{tabular*}
116
117
118 \parbox{\textwidth}{
119 \rule{\textwidth}{2pt}
120 }
121
122 \end{document}
123