Alle Dateien durch Perltidy laufen lassen. Die verwendeten Optionen sind am Ende...
[kivitendo-erp.git] / templates / German-pick_list.tex
1 \documentclass[twoside]{scrartcl}
2 \usepackage[frame]{xy}
3 \usepackage{tabularx}
4 \usepackage[latin1]{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}{19.2cm}
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}{10cm}
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  
45 <%pagebreak 90 27 37%>
46 \end{tabular*}
47
48 \newpage
49
50 \markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
51
52 \vspace*{-12pt}
53
54 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rcll@{}}
55   \textbf{Pos} & \textbf{Nummer} & \textbf{Beschreibung} &
56   \textbf{Menge} & \textbf{Lagerausgang} & & \textbf{Lagerplatz} \\
57 <%end pagebreak%>
58
59
60 \vspace*{0.5cm}
61
62 \parbox[t]{1cm}{\hfill}
63 \parbox[t]{.5\textwidth}{
64   \textbf{Lieferanschrift}
65 } \hfill
66
67 \vspace{0.7cm}
68
69 \parbox[t]{1cm}{\hfill}
70 \parbox[t]{.5\textwidth}{
71
72 <%shiptoname%> \\
73 <%shiptostreet%> \\
74 <%shiptozipcode%> \\
75 <%shiptocity%> \\
76 <%shiptocountry%>
77 }
78 \parbox[t]{.4\textwidth}{
79   <%shiptocontact%>
80
81   <%if shiptophone%>
82   Tel: <%shiptophone%>
83   <%end shiptophone%>
84
85   <%if shiptofax%>
86   Fax: <%shiptofax%>
87   <%end shiptofax%>
88
89   <%shiptoemail%>
90 }
91 \hfill
92
93 \vspace{1cm}
94
95 \textbf{S A M M E L L I S T E}
96 \hfill
97
98 \vspace{1cm}
99
100 \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
101   \textbf{BestellNr. \#} & \textbf{Datum} & \textbf{Kontakt}
102   <%if warehouse%>
103   & \textbf{Lager}
104   <%end warehouse%>
105   & \textbf{Lagerplatz} & \textbf{Lieferung mit} \\ [0.5em]
106   \hline
107   <%ordnumber%>
108   <%if shippingdate%>
109   & <%shippingdate%>
110   <%end shippingdate%>
111   <%if not shippingdate%>
112   & <%orddate%>
113   <%end shippingdate%>
114   & <%employee%>
115   <%if warehouse%>
116   & <%warehouse%>
117   <%end warehouse%>
118   & <%shippingpoint%> & <%shipvia%> \\
119   \hline
120 \end{tabularx}
121
122 \vspace{1cm}
123
124 \begin{tabular*}{\textwidth}{@{}rlp{\descrwidth}@{\extracolsep\fill}rcll@{}}
125   \textbf{Pos} & \textbf{Nummer} & \textbf{Beschreibung} &
126   \textbf{Menge} & \textbf{Lagerausgang} & & \textbf{Lagerplatz} \\
127 <%foreach number%>
128   <%runningnumber%> & <%number%> & <%description%> &
129   <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
130 <%end number%>
131 \end{tabular*}
132
133
134 \parbox{\textwidth}{
135 \rule{\textwidth}{2pt}
136 }
137
138 \end{document}
139