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