summaryrefslogtreecommitdiff
path: root/templates/Estonian-ar_transaction.tex
blob: 251df3b6adc4635c1838bc41aa51c066669b7375 (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. \setlength{\parindent}{0pt}
  7. \begin{document}
  8. \pagestyle{myheadings}
  9. \thispagestyle{empty}
  10. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  11. <?lsmb include letterhead.tex ?>
  12. \centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
  13. \vspace*{0.5cm}
  14. \parbox[t]{.5\textwidth}{
  15. <?lsmb name ?>
  16. <?lsmb address1 ?>
  17. <?lsmb address2 ?>
  18. <?lsmb city ?>
  19. <?lsmb if state ?>
  20. \hspace{-0.1cm}, <?lsmb state ?>
  21. <?lsmb end state ?>
  22. <?lsmb zipcode ?>
  23. <?lsmb country ?>
  24. \vspace{0.3cm}
  25. <?lsmb if contact ?>
  26. <?lsmb contact ?>
  27. \vspace{0.2cm}
  28. <?lsmb end contact ?>
  29. <?lsmb if customerphone ?>
  30. Tel: <?lsmb customerphone ?>
  31. <?lsmb end customerphone ?>
  32. <?lsmb if customerfax ?>
  33. Fax: <?lsmb customerfax ?>
  34. <?lsmb end customerfax ?>
  35. <?lsmb email ?>
  36. <?lsmb if customertaxnumber ?>
  37. Tax Number: <?lsmb customertaxnumber ?>
  38. <?lsmb end customertaxnumber ?>
  39. }
  40. \hfill
  41. \begin{tabular}[t]{ll}
  42. \textbf{Invoice \#} & <?lsmb invnumber ?> \\
  43. \textbf{Date} & <?lsmb invdate ?> \\
  44. \textbf{Due} & <?lsmb duedate ?> \\
  45. <?lsmb if ponumber ?>
  46. \textbf{PO \#} & <?lsmb ponumber ?> \\
  47. <?lsmb end ponumber ?>
  48. <?lsmb if ordnumber ?>
  49. \textbf{Order \#} & <?lsmb ordnumber ?> \\
  50. <?lsmb end ordnumber ?>
  51. \textbf{Employee} & <?lsmb employee ?> \\
  52. \end{tabular}
  53. \vspace{1cm}
  54. \begin{tabularx}{\textwidth}[t]{@{}llrX@{\hspace{1cm}}l@{}}
  55. <?lsmb foreach amount ?>
  56. <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb description ?> & <?lsmb projectnumber ?> \\
  57. <?lsmb end amount ?>
  58. \multicolumn{2}{r}{\textbf{Subtotal}} & <?lsmb subtotal ?> & \\
  59. <?lsmb foreach tax ?>
  60. \multicolumn{2}{r}{\textbf{<?lsmb taxdescription ?> @ <?lsmb taxrate ?> \%}} & <?lsmb tax ?> & \\
  61. <?lsmb end tax ?>
  62. \multicolumn{2}{r}{\textbf{Total}} & <?lsmb invtotal ?> & \\
  63. \end{tabularx}
  64. \vspace{0.3cm}
  65. <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?>
  66. <?lsmb if notes ?>
  67. \vspace{0.3cm}
  68. <?lsmb notes ?>
  69. <?lsmb end notes ?>
  70. \vspace{0.3cm}
  71. <?lsmb if paid_1 ?>
  72. \begin{tabular}{@{}lllr@{}}
  73. \multicolumn{5}{c}{\textbf{Payments}} \\
  74. \hline
  75. \textbf{Date} & & \textbf{Source} & \textbf{Amount} \\
  76. <?lsmb end paid_1 ?>
  77. <?lsmb foreach payment ?>
  78. <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\
  79. <?lsmb end payment ?>
  80. <?lsmb if paid_1 ?>
  81. \end{tabular}
  82. <?lsmb end paid_1 ?>
  83. \vspace{0.5cm}
  84. <?lsmb foreach tax ?>
  85. \textbf{\scriptsize <?lsmb taxdescription ?> Registration <?lsmb taxnumber ?>} \\
  86. <?lsmb end tax ?>
  87. \end{document}