This commit was generated by cvs2svn to compensate for changes in r2523,
[freeside.git] / sql-ledger / templates / French-statement.tex
1 \documentclass[twoside]{scrartcl}
2 \usepackage[frame]{xy}
3 \usepackage{tabularx}
4 \usepackage[latin1]{inputenc}
5 \setlength{\voffset}{0.5cm}
6 \setlength{\hoffset}{-2.0cm}
7 \setlength{\topmargin}{0cm}
8 \setlength{\headheight}{0.5cm}
9 \setlength{\headsep}{1cm}
10 \setlength{\topskip}{0pt}
11 \setlength{\oddsidemargin}{1.0cm}
12 \setlength{\evensidemargin}{1.0cm}
13 \setlength{\textwidth}{19.2cm}
14 \setlength{\textheight}{24.5cm}
15 \setlength{\footskip}{1cm}
16 \setlength{\parindent}{0pt}
17 \renewcommand{\baselinestretch}{1}
18 \begin{document}
19
20 \newlength{\descrwidth}\setlength{\descrwidth}{10cm}
21
22 \newsavebox{\hdr}
23 \sbox{\hdr}{
24   \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
25
26   \parbox{\textwidth}{
27     \parbox[b]{12cm}{
28       <%company%>
29
30       <%address%>}\hfill
31     \begin{tabular}[b]{rrr@{}}
32     Tel & <%tel%>\\
33     Fax & <%fax%>
34     \end{tabular}
35
36     \rule[1.5ex]{\textwidth}{0.5pt}
37   }
38 }
39
40 \fontfamily{cmss}\fontshape{n}\selectfont
41
42 \markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}}
43
44 \pagestyle{myheadings}
45 %\thispagestyle{empty}     use this with letterhead paper
46
47 <%pagebreak 90 27 48%>
48 \end{tabular*}
49
50   \rule{\textwidth}{2pt}
51
52   \hfill
53   \begin{tabularx}{7cm}{Xr@{}}
54   \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
55   \end{tabularx}
56
57 \newpage
58
59 \markright{<%company%>\hfill <%statementdate%>}
60
61 \vspace*{-12pt}
62
63 \begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
64   \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
65   \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
66   carried forward from <%lastpage%> & & & & & & <%sumcarriedforward%> \\
67 <%end pagebreak%>
68
69
70 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
71
72 \vspace*{1.5cm}
73
74 \parbox[t]{1cm}{\hfill}
75 \parbox[t]{10.5cm}{
76   
77 <%name%>
78
79 <%addr1%>
80
81 <%addr2%>
82
83 <%addr3%>
84
85 <%addr4%>
86
87 }
88 \parbox[t]{7.5cm}{
89 <%if customerphone%>
90 Tel: <%customerphone%>
91 <%end customerphone%>
92
93 <%if customerfax%>
94 Fax: <%customerfax%>
95 <%end customerfax%>
96
97 <%email%>
98 }
99 \hfill
100
101 \vspace{1cm}
102
103 \textbf{S T A T E M E N T} \hfill
104
105 \hfill <%statementdate%>
106
107 \vspace{2cm}
108
109 \begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
110   \textbf{Invoice \#} & \textbf{Date} & \textbf{Due} &
111   \textbf{Current} & \textbf{30} & \textbf{60} & \textbf{90+} \\
112 <%foreach invnumber%>
113   <%invnumber%> & <%invdate%> & <%duedate%> &
114   <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
115 <%end invnumber%>
116 \textbf{Subtotal} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%>
117 \end{tabular*}
118 \rule{\textwidth}{1pt}
119
120 \vspace{1cm}
121
122 \hfill
123 \begin{tabularx}{7cm}{Xr@{}}
124   \textbf{Total outstanding} & <%total%>
125 \end{tabularx}
126
127 \vfill
128
129 Please make check payable to <%company%>
130
131 \renewcommand{\thefootnote}{\fnsymbol{footnote}}
132
133 \footnotetext[1]{\tiny
134 }
135
136 \end{document}
137