fix ambiguous column error when selecting by credit card, fixes: Bug#1189
[freeside.git] / sql-ledger / templates / Danish-check.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 <%address1%>
43
44 <%if address2%>
45 <%address2%>
46 <%end address2%>
47
48 <%city%> <%state%> <%zipcode%>
49
50 <%if country%>
51 <%country%>
52 <%end country%>
53
54 \vspace{2.8cm}
55
56 <%company%>
57
58 \vspace{0.5cm}
59
60 <%name%> \hfill <%datepaid%> \hfill <%source%>
61
62 \vspace{0.5cm}
63 \begin{tabularx}{\textwidth}{lXrr@{}}
64 \textbf{Invoice No.} & \textbf{Invoice Date}
65   & \textbf{Due} & \textbf{Applied} \\
66 <%foreach invnumber%>
67 <%invnumber%> & <%invdate%> \dotfill
68   & <%due%> & <%paid%> \\
69 <%end invnumber%>
70 \end{tabularx}
71
72 \vfill
73
74 \end{document}
75