This commit was generated by cvs2svn to compensate for changes in r3880,
[freeside.git] / sql-ledger / sql-ledger / templates / Default-statement.tex
1 \documentclass[english,twoside]{scrartcl}
2 \usepackage[frame]{xy}
3 \usepackage{tabularx}
4 \usepackage[latin1]{inputenc}
5 \usepackage{babel}
6 \usepackage{graphicx}
7 \setlength{\voffset}{0.5cm}
8 \setlength{\hoffset}{-1.9cm}
9 \setlength{\topmargin}{0cm}
10 \setlength{\headheight}{0.5cm}
11 \setlength{\headsep}{1cm}
12 \setlength{\topskip}{0pt}
13 \setlength{\oddsidemargin}{1.0cm}
14 \setlength{\evensidemargin}{1.0cm}
15 \setlength{\textwidth}{19.2cm}
16 \setlength{\textheight}{24.7cm}
17 \setlength{\footskip}{1cm}
18 \setlength{\parindent}{0pt}
19 \renewcommand{\baselinestretch}{1}
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.5em]{\textwidth}{0.5pt}
45 }
46
47   
48 \vspace*{0.5cm}
49
50 \parbox[t]{1cm}{\hfill}
51 \parbox[t]{.45\textwidth}{
52 <%name%>
53
54 <%address1%>
55
56 <%address2%>
57
58 <%city%> <%state%> <%zipcode%>
59
60 <%country%>
61 }
62 \parbox[t]{.45\textwidth}{
63 <%if customerphone%>
64 Tel: <%customerphone%>
65 <%end customerphone%>
66
67 <%if customerfax%>
68 Fax: <%customerfax%>
69 <%end customerfax%>
70
71 <%email%>
72 }
73 \hfill
74
75 \vspace{1cm}
76
77 \textbf{S T A T E M E N T} \hfill \textbf{<%statementdate%>}
78
79 \vspace{2cm}
80
81 \begin{tabularx}{\textwidth}{|llXccrrrr|}
82   \hline
83   \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Notes} &
84   \textbf{Date} & \textbf{Due} &
85   \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
86   \hline
87 <%foreach invnumber%>
88   <%invnumber%> & <%ordnumber%> & <%notes%> & <%invdate%> & <%duedate%> &
89   <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
90 <%end invnumber%>
91   \multicolumn{9}{|l|}{\mbox{}} \\
92   \hline
93   \textbf{Subtotal} & & & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%> \\
94   \hline
95 \end{tabularx}
96
97 \vspace{0.5cm}
98
99 \hfill
100 \begin{tabularx}{.4\textwidth}{Xr@{}}
101   \textbf{Total outstanding} & \textbf{<%total%>}
102 \end{tabularx}
103
104 \vfill
105
106 Please make check payable to <%company%>
107
108 \end{document}
109
110