summaryrefslogtreecommitdiff
path: root/sql-ledger/templates/Danish-receipt.tex
blob: 6742b5b59fb633195ab41c9f5f33ac72dcebde12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
\documentclass[twoside]{scrartcl}
\usepackage[frame]{xy}
\usepackage{tabularx}
\usepackage[latin1]{inputenc}
\setlength{\voffset}{0.4cm}
\setlength{\hoffset}{-2.0cm}
\setlength{\topmargin}{0cm}
\setlength{\headheight}{0.0cm}
\setlength{\headsep}{1cm}
\setlength{\topskip}{0pt}
\setlength{\oddsidemargin}{1.0cm}
\setlength{\evensidemargin}{1.0cm}
\setlength{\textwidth}{19.2cm}
\setlength{\textheight}{24.5cm}
\setlength{\footskip}{1cm}
\setlength{\parindent}{0pt}
\renewcommand{\baselinestretch}{1}
\begin{document}


\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont

\parbox[t]{12cm}{
  <%company%>

  <%address%>}
\hfill
\parbox[t]{6cm}{\hfill <%source%>}

\vspace*{0.6cm}

<%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}

\vspace{0.5cm}

\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>

\vspace{0.5cm}

<%name%>

<%address1%>

<%if address2%>
<%address2%>
<%end address2%>

<%city%> <%state%> <%zipcode%>

<%if country%>
<%country%>
<%end country%>

\vspace{2.8cm}

<%company%>

\vspace{0.5cm}

<%name%> \hfill <%datepaid%> \hfill <%source%>

\vspace{0.5cm}
\begin{tabularx}{\textwidth}{lXrr@{}}
\textbf{Invoice No.} & \textbf{Invoice Date}
  & \textbf{Due} & \textbf{Applied} \\
<%foreach invnumber%>
<%invnumber%> & <%invdate%> \dotfill
  & <%due%> & <%paid%> \\
<%end invnumber%>
\end{tabularx}

\vfill

\end{document}