refund deletion
[freeside.git] / sql-ledger / templates / French-ap_transaction.tex
1 \documentclass[10pt,letterpaper,oneside,onecolumn]{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 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
26
27 \vspace*{-1.3cm}
28
29 \parbox{\textwidth}{%
30   \parbox[b]{.42\textwidth}{%
31     <%company%>
32    
33     <%address%>
34   }
35   \parbox[b]{.2\textwidth}{
36     \includegraphics[scale=0.3]{sql-ledger}
37   }\hfill
38   \begin{tabular}[b]{rr@{}}
39   Telephone & <%tel%>\\
40   Facsimile & <%fax%>
41   \end{tabular}
42
43   \rule[1.5em]{\textwidth}{0.5pt}
44 }
45
46 \centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
47
48 \vspace*{0.5cm}
49
50 \parbox[t]{.5\textwidth}{
51 <%name%>
52
53 <%address1%>
54
55 <%address2%>
56
57 <%city%> <%state%> <%zipcode%>
58
59 <%country%>
60
61 \vspace{0.3cm}
62
63 <%if contact%>
64 <%contact%>
65 <%end contact%>
66
67 \vspace{0.2cm}
68
69 <%if customerphone%>
70 Tel: <%customerphone%>
71 <%end customerphone%>
72
73 <%if customerfax%>
74 Fax: <%customerfax%>
75 <%end customerfax%>
76
77 <%email%>
78 }
79 \hfill
80 \begin{tabular}[t]{ll}
81   \textbf{Invoice \#} & <%invnumber%> \\
82   \textbf{Date} & <%invdate%> \\
83   \textbf{Due} & <%duedate%> \\
84   \textbf{Order \#} & <%ordnumber%> \\
85   \textbf{Employee} & <%employee%> \\
86 \end{tabular}
87
88 \vspace{1cm}
89
90 \begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
91 <%foreach amount%>
92   <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
93 <%end amount%>
94
95   \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
96 <%foreach tax%>
97   \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
98 <%end tax%>
99
100   \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
101   
102 \end{tabularx}
103 <%notes%>
104
105 \vspace{0.3cm}
106
107 <%text_amount%> ***** <%decimal%>/100 <%currency%>
108
109 \vspace{0.3cm}
110
111 <%if paid%>
112 \begin{tabular}{@{}llllr@{}}
113   \multicolumn{5}{c}{\textbf{Payments}} \\
114   \hline
115   \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
116 <%end paid%>
117 <%foreach payment%>
118   <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
119 <%end payment%>
120 <%if paid%>
121 \end{tabular}
122 <%end paid%>
123
124 \end{document}
125