so Search.tsf and Search.rdf work
[freeside.git] / sql-ledger / templates / Default-bin_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 \pagestyle{myheadings}
23 \thispagestyle{empty}
24
25 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
26
27 \vspace*{-1.3cm}
28
29 \parbox{\textwidth}{
30   \parbox[b]{.42\textwidth}{%
31     <%company%>
32     
33     <%address%>
34   }
35   \parbox[b]{.2\textwidth}{
36     \includegraphics[scale=0.3]{sql-ledger}
37   }\hfill
38   \begin{tabular}[b]{rr@{}}
39   Telephone & <%tel%>\\
40   Facsimile & <%fax%>
41   \end{tabular}
42
43   \rule[1.5ex]{\textwidth}{0.5pt}
44 }
45
46  
47 <%pagebreak 90 27 37%>
48 \end{tabularx}
49
50 \newpage
51
52 \markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
53
54 \vspace*{-12pt}
55
56 \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
57   \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
58 <%end pagebreak%>
59
60
61 \vspace*{0.5cm}
62
63 \parbox[t]{1cm}{\hfill}
64 \parbox[t]{.5\textwidth}{
65 \textbf{From}
66 \vspace{0.7cm}
67
68 <%name%>
69
70 <%address1%>
71
72 <%if address2%>
73 <%address2%>
74 <%end address2%>
75
76 <%city%> <%state%> <%zipcode%>
77
78 <%if country%>
79 <%country%>
80 <%end country%>
81 }
82 \parbox[t]{.4\textwidth}{
83 \textbf{Ship To}
84 \vspace{0.7cm}
85
86 <%shiptoname%>
87
88 <%shiptoaddress1%>
89
90 <%if shiptoaddress2%>
91 <%shiptoaddress2%>
92 <%end shiptoaddress2%>
93
94 <%shiptocity%> <%shiptostate%> <%shiptozipcode%>
95
96 <%if shiptocountry%>
97 <%shiptocountry%>
98 <%end shiptocountry%>
99 }
100 \hfill
101
102 \vspace{1cm}
103
104 \textbf{B I N} \parbox{0.3cm}{\hfill} \textbf{L I S T}
105 \hfill
106
107 \vspace{1cm}
108
109 \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
110   \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
111   <%if warehouse%>
112   & \textbf{Warehouse}
113   <%end warehouse%>
114   & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
115   \hline
116   
117   <%ordnumber%>
118   <%if shippingdate%>
119   & <%shippingdate%>
120   <%end shippingdate%>
121   <%if not shippingdate%>
122   & <%orddate%>
123   <%end shippingdate%>
124   & <%employee%>
125   <%if warehouse%>
126   & <%warehouse%>
127   <%end warehouse%>
128   & <%shippingpoint%> & <%shipvia%> \\
129   \hline
130 \end{tabularx}
131   
132 \vspace{1cm}
133   
134 \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
135   \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
136
137 <%foreach number%>
138   <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
139   <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
140 <%end number%>
141 \end{tabularx}
142
143
144 \rule{\textwidth}{2pt}
145
146 \end{document}
147