Alle Dateien durch Perltidy laufen lassen. Die verwendeten Optionen sind am Ende...
[kivitendo-erp.git] / templates / Default-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   }
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 <%pagebreak 90 27 37%>
49 \end{tabular*}
50
51 \newpage
52
53 \markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
54
55 \vspace*{-12pt}
56
57 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rcll@{}}
58   \textbf{Pos} & \textbf{Number} & \textbf{Description} &
59   \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
60 <%end pagebreak%>
61
62
63 \vspace*{0.5cm}
64
65 \parbox[t]{1cm}{\hfill}
66 \parbox[t]{.5\textwidth}{
67   \textbf{Ship To}
68 } \hfill
69
70 \vspace{0.7cm}
71
72 \parbox[t]{1cm}{\hfill}
73 \parbox[t]{.5\textwidth}{
74   
75 <%shiptoname%> \\
76 <%shiptostreet%> \\
77 <%shiptozipcode%> \\
78 <%shiptocity%> \\
79 <%shiptocountry%>
80 }
81 \parbox[t]{.4\textwidth}{
82   <%shiptocontact%>
83
84   <%if shiptophone%>
85   Tel: <%shiptophone%>
86   <%end shiptophone%>
87
88   <%if shiptofax%>
89   Fax: <%shiptofax%>
90   <%end shiptofax%>
91
92   <%shiptoemail%>
93 }
94 \hfill
95
96 \vspace{1cm}
97
98 \textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T}
99 \hfill
100
101 \vspace{1cm}
102
103 \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
104   \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
105   <%if warehouse%>
106   & \textbf{Warehouse}
107   <%end warehouse%>
108   & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
109   \hline
110   <%ordnumber%>
111   <%if shippingdate%>
112   & <%shippingdate%>
113   <%end shippingdate%>
114   <%if not shippingdate%>
115   & <%orddate%>
116   <%end shippingdate%>
117   & <%employee%>
118   <%if warehouse%>
119   & <%warehouse%>
120   <%end warehouse%>
121   & <%shippingpoint%> & <%shipvia%> \\
122   \hline
123 \end{tabularx}
124   
125 \vspace{1cm}
126
127 \begin{tabular*}{\textwidth}{@{}rlp{\descrwidth}@{\extracolsep\fill}rcll@{}}
128   \textbf{Pos} & \textbf{Number} & \textbf{Description} &
129   \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
130 <%foreach number%>
131   <%runningnumber%> & <%number%> & <%description%> &
132   <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
133 <%end number%>
134 \end{tabular*}
135
136
137 \parbox{\textwidth}{
138 \rule{\textwidth}{2pt}
139 }
140
141 \end{document}
142