summaryrefslogtreecommitdiff
path: root/templates/demo/receipt.tex
blob: 01e840223bc6bd7ebcbcb3b7c6d3a7b4c1e851e3 (plain)
  1. \documentclass{scrartcl}
  2. \usepackage[latin1]{inputenc}
  3. \usepackage{tabularx}
  4. \usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry}
  5. \usepackage{graphicx}
  6. \begin{document}
  7. \pagestyle{myheadings}
  8. \thispagestyle{empty}
  9. \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
  10. \parbox[t]{12cm}{
  11.   <?lsmb company ?>
  12. <?lsmb address ?>}
  13. \hfill
  14. \parbox[t]{6cm}{\hfill <?lsmb source ?>}
  15. \vspace*{0.6cm}
  16. <?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill}
  17. \vspace{0.5cm}
  18. \hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?>
  19. % different date format for datepaid
  20. % <?lsmb DD ?><?lsmb MM ?><?lsmb YYYY ?>
  21. \vspace{0.5cm}
  22. <?lsmb name ?>
  23. <?lsmb address1 ?>
  24. <?lsmb address2 ?>
  25. <?lsmb city ?>
  26. <?lsmb if state ?>
  27. \hspace{-0.1cm}, <?lsmb state ?>
  28. <?lsmb end state ?>
  29. <?lsmb zipcode ?>
  30. <?lsmb country ?>
  31. \vspace{1.8cm}
  32. <?lsmb memo ?>
  33. \vspace{0.8cm}
  34. <?lsmb company ?>
  35. \vspace{0.5cm}
  36. <?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?>
  37. \vspace{0.5cm}
  38. \begin{tabularx}{\textwidth}{lXrr@{}}
  39. \textbf{Invoice No.} & \textbf{Invoice Date}
  40. & \textbf{Due} & \textbf{Applied} \\
  41. <?lsmb foreach invnumber ?>
  42. <?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill
  43. & <?lsmb due ?> & <?lsmb paid ?> \\
  44. <?lsmb end invnumber ?>
  45. \end{tabularx}
  46. \vspace{1cm}
  47. <?lsmb memo ?>
  48. \vfill
  49. \end{document}