add some time-worked reporting
[freeside.git] / sql-ledger / templates / Brazilian_Portuguese-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 <%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
77 <%shiptoaddress1%>
78
79 <%shiptoaddress2%>
80
81 <%shiptocity%> <%shiptostate%> <%shiptozipcode%>
82
83 <%shiptocountry%>
84 }
85 \parbox[t]{.4\textwidth}{
86   <%shiptocontact%>
87
88   <%if shiptophone%>
89   Tel: <%shiptophone%>
90   <%end shiptophone%>
91
92   <%if shiptofax%>
93   Fax: <%shiptofax%>
94   <%end shiptofax%>
95
96   <%shiptoemail%>
97 }
98 \hfill
99
100 \vspace{1cm}
101
102 \textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T}
103 \hfill
104
105 \vspace{1cm}
106
107 \begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
108   \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
109   & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
110   \hline
111   <%invnumber%> & <%ordnumber%>
112   <%if shippingdate%>
113   & <%shippingdate%>
114   <%end shippingdate%>
115   <%if not shippingdate%>
116   & <%transdate%>
117   <%end shippingdate%>
118   & <%employee%>
119   <%if warehouse%>
120   & <%warehouse%>
121   <%end warehouse%>
122   & <%shippingpoint%> & <%shipvia%> \\
123   \hline
124 \end{tabularx}
125   
126 \vspace{1cm}
127
128 \begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
129   \textbf{Pos} & \textbf{Number} & \textbf{Description} &
130   \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
131 <%foreach number%>
132   <%runningnumber%> & <%number%> & <%description%> &
133   <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
134 <%end number%>
135 \end{tabularx}
136
137
138 \parbox{\textwidth}{
139 \rule{\textwidth}{2pt}
140 }
141
142 \end{document}
143