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