This commit was generated by cvs2svn to compensate for changes in r3880,
[freeside.git] / sql-ledger / sql-ledger / templates / Default-packing_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}{-1.9cm}
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 \newlength{\descrwidth}\setlength{\descrwidth}{10cm}
26 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
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}{@{}rlXllrrl@{}}
58   \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\
59 <%end pagebreak%>
60
61
62 \vspace*{0.5cm}
63
64 \parbox[t]{1cm}{\hfill}
65 \parbox[t]{.5\textwidth}{
66 \textbf{Ship To}} \hfill
67
68 \vspace{0.7cm}
69
70 \parbox[t]{1cm}{\hfill}
71 \parbox[t]{.5\textwidth}{
72   
73 <%shiptoname%>
74
75 <%shiptoaddress1%>
76
77 <%shiptoaddress2%>
78
79 <%shiptocity%> <%shiptostate%> <%shiptozipcode%>
80
81 <%shiptocountry%>
82 }
83 \parbox[t]{.4\textwidth}{
84   <%shiptocontact%>
85   
86   <%if shiptophone%>
87   Tel: <%shiptophone%>
88   <%end shiptophone%>
89   
90   <%if shiptofax%>
91   Fax: <%shiptofax%>
92   <%end shiptofax%>
93   
94   <%shiptoemail%>
95 }
96 \hfill
97
98 \vspace{1cm}
99
100 \textbf{P A C K I N G} \parbox{0.3cm}{\hfill} \textbf{L I S T}
101 \hfill
102
103 \vspace{1cm}
104
105 \begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
106   \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
107   <%if warehouse%>
108   & \textbf{Warehouse}
109   <%end warehouse%>
110   & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
111   \hline
112   
113   <%invnumber%> & <%ordnumber%>
114   <%if shippingdate%>
115   & <%shippingdate%>
116   <%end shippingdate%>
117   <%if not shippingdate%>
118   & <%transdate%>
119   <%end shippingdate%>
120   & <%employee%>
121   <%if warehouse%>
122   & <%warehouse%>
123   <%end warehouse%>
124   & <%shippingpoint%> & <%shipvia%> \\
125   \hline
126 \end{tabularx}
127   
128 \vspace{1cm}
129   
130 \begin{tabularx}{\textwidth}{@{}rlXllrrl@{}}
131   \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\
132
133 <%foreach number%>
134   <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
135   <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> \\
136 <%end number%>
137 \end{tabularx}
138
139
140 \parbox{\textwidth}{
141 \rule{\textwidth}{2pt}
142
143 \vspace{12pt}
144
145 <%notes%>
146
147 }
148
149 \vfill
150 \centerline{\textbf{Thank You for your valued business!}}
151
152 \renewcommand{\thefootnote}{\fnsymbol{footnote}}
153
154 \footnotetext[1]{\tiny
155 Items returned are subject to a 10\% restocking charge.
156 A return authorization must be obtained from <%company%> before goods are
157 returned. Returns must be shipped prepaid and properly insured.
158 <%company%> will not be responsible for damages during transit.}
159
160 \end{document}
161