AND set its owner. whew.
[freeside.git] / sql-ledger / templates / Service-receipt.tex
1 \documentclass[twoside]{scrartcl}
2 \usepackage[frame]{xy}
3 \usepackage{tabularx}
4 \usepackage[latin1]{inputenc}
5 \setlength{\voffset}{0.4cm}
6 \setlength{\hoffset}{-2.0cm}
7 \setlength{\topmargin}{0cm}
8 \setlength{\headheight}{0.0cm}
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
21 \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
22
23 \parbox[t]{12cm}{
24   <%company%>
25
26   <%address%>}
27 \hfill
28 \parbox[t]{6cm}{\hfill <%source%>}
29
30 \vspace*{0.6cm}
31
32 <%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
33
34 \vspace{0.5cm}
35
36 \hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
37
38 \vspace{0.5cm}
39
40 <%name%>
41
42 <%addr1%>
43
44 <%addr2%>
45
46 <%addr3%>
47
48 <%addr4%>
49
50 \vspace{2.8cm}
51
52 <%company%>
53
54 \vspace{0.5cm}
55
56 <%name%> \hfill <%datepaid%> \hfill <%source%>
57
58 \vspace{0.5cm}
59 \begin{tabularx}{\textwidth}{lXrr@{}}
60 \textbf{Invoice No.} & \textbf{Invoice Date}
61   & \textbf{Due} & \textbf{Applied} \\
62 <%foreach invnumber%>
63 <%invnumber%> & <%invdate%> \dotfill
64   & <%due%> & <%paid%> \\
65 <%end invnumber%>
66 \end{tabularx}
67
68 \vfill
69
70 \end{document}
71