summaryrefslogtreecommitdiff
path: root/templates/demo/check.tex
blob: b5c8a31ce837a85ff8f06e6915037853e602db62 (plain)
  1. \documentclass{scrartcl}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage{tabularx}
  4. \usepackage[letterpaper,top=2cm,bottom=1.5cm,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 ?>
  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 \#} & \textbf{Invoice Date}
  40. & \textbf{Amount Due} & \textbf{Applied} \\
  41. <?lsmb FOREACH invnumber ?>
  42. <?lsmb lc = loop.count - 1 ?>
  43. <?lsmb invnumber.${lc} ?> & <?lsmb invdate.${lc} ?> \dotfill
  44. & <?lsmb due.${lc} ?> & <?lsmb paid.${lc} ?> \\
  45. <?lsmb END ?>
  46. \end{tabularx}
  47. \vspace{1cm}
  48. <?lsmb memo ?>
  49. \vfill
  50. \end{document}