summaryrefslogtreecommitdiff
path: root/templates/krings/receipt.tex
blob: 6742b5b59fb633195ab41c9f5f33ac72dcebde12 (plain)
  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. \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
  20. \parbox[t]{12cm}{
  21.   <%company%>
  22. <%address%>}
  23. \hfill
  24. \parbox[t]{6cm}{\hfill <%source%>}
  25. \vspace*{0.6cm}
  26. <%text_amount%> \dotfill <%decimal%>/100 \makebox[0.5cm]{\hfill}
  27. \vspace{0.5cm}
  28. \hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
  29. \vspace{0.5cm}
  30. <%name%>
  31. <%address1%>
  32. <%if address2%>
  33. <%address2%>
  34. <%end address2%>
  35. <%city%> <%state%> <%zipcode%>
  36. <%if country%>
  37. <%country%>
  38. <%end country%>
  39. \vspace{2.8cm}
  40. <%company%>
  41. \vspace{0.5cm}
  42. <%name%> \hfill <%datepaid%> \hfill <%source%>
  43. \vspace{0.5cm}
  44. \begin{tabularx}{\textwidth}{lXrr@{}}
  45. \textbf{Invoice No.} & \textbf{Invoice Date}
  46. & \textbf{Due} & \textbf{Applied} \\
  47. <%foreach invnumber%>
  48. <%invnumber%> & <%invdate%> \dotfill
  49. & <%due%> & <%paid%> \\
  50. <%end invnumber%>
  51. \end{tabularx}
  52. \vfill
  53. \end{document}