pagebreak-Mechanismus entfernen
[kivitendo-erp.git] / templates / print / Default / 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}{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   }
36   \parbox[b]{.2\textwidth}{
37     \includegraphics[scale=0.3]{sql-ledger}
38   }\hfill
39   \begin{tabular}[b]{rr@{}}
40   Telephone & <%tel%>\\
41   Facsimile & <%fax%>
42   \end{tabular}
43
44   \rule[1.5ex]{\textwidth}{0.5pt}
45 }
46
47
48 \vspace*{0.5cm}
49
50 \parbox[t]{1cm}{\hfill}
51 \parbox[t]{.5\textwidth}{
52   \textbf{Ship To}
53 } \hfill
54
55 \vspace{0.7cm}
56
57 \parbox[t]{1cm}{\hfill}
58 \parbox[t]{.5\textwidth}{
59
60 <%shiptoname%> \\
61 <%shiptostreet%> \\
62 <%shiptozipcode%> \\
63 <%shiptocity%> \\
64 <%shiptocountry%>
65 }
66 \parbox[t]{.4\textwidth}{
67   <%shiptocontact%>
68
69   <%if shiptophone%>
70   Tel: <%shiptophone%>
71   <%end shiptophone%>
72
73   <%if shiptofax%>
74   Fax: <%shiptofax%>
75   <%end shiptofax%>
76
77   <%shiptoemail%>
78 }
79 \hfill
80
81 \vspace{1cm}
82
83 \textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T}
84 \hfill
85
86 \vspace{1cm}
87
88 \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
89   \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
90   <%if warehouse%>
91   & \textbf{Warehouse}
92   <%end warehouse%>
93   & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
94   \hline
95   <%ordnumber%>
96   <%if shippingdate%>
97   & <%shippingdate%>
98   <%end shippingdate%>
99   <%if not shippingdate%>
100   & <%orddate%>
101   <%end shippingdate%>
102   & <%employee%>
103   <%if warehouse%>
104   & <%warehouse%>
105   <%end warehouse%>
106   & <%shippingpoint%> & <%shipvia%> \\
107   \hline
108 \end{tabularx}
109
110 \vspace{1cm}
111
112 \begin{tabular*}{\textwidth}{@{}rlp{\descrwidth}@{\extracolsep\fill}rcll@{}}
113   \textbf{Pos} & \textbf{Number} & \textbf{Description} &
114   \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
115 <%foreach number%>
116   <%runningnumber%> & <%number%> & <%description%> &
117   <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
118 <%end number%>
119 \end{tabular*}
120
121
122 \parbox{\textwidth}{
123 \rule{\textwidth}{2pt}
124 }
125
126 \end{document}
127