summaryrefslogtreecommitdiff
path: root/templates/Service-ar_transaction.tex
blob: 95f9160d883ba3fa672fd39c57111f737a0b29c4 (plain)
  1. \documentclass{scrartcl}
  2. \usepackage[latin1]{inputenc}
  3. \usepackage{tabularx}
  4. \usepackage[top=2cm,bottom=1.5cm,left=2cm,right=1cm]{geometry}
  5. \usepackage{graphicx}
  6. \setlength{\parindent}{0pt}
  7. \begin{document}
  8. \pagestyle{empty}
  9. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  10. \parbox{\textwidth}{%
  11.   \parbox[b]{.42\textwidth}{%
  12. <?lsmb company ?>
  13. <?lsmb address ?>
  14. }
  15. \parbox[b]{.2\textwidth}{
  16. \includegraphics[scale=0.3]{ledger-smb}
  17. }\hfill
  18. \begin{tabular}[b]{rr@{}}
  19. Tel: & <?lsmb tel ?>\\
  20. Fax: & <?lsmb fax ?>
  21. \end{tabular}
  22. \rule[1.5em]{\textwidth}{0.5pt}
  23. }
  24. \centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
  25. \vspace*{0.5cm}
  26. \parbox[t]{.5\textwidth}{
  27. <?lsmb name ?>
  28. <?lsmb address1 ?>
  29. <?lsmb address2 ?>
  30. <?lsmb city ?>
  31. <?lsmb if state ?>
  32. , <?lsmb state ?>
  33. <?lsmb end state ?>
  34. <?lsmb zipcode ?>
  35. <?lsmb country ?>
  36. \vspace{0.3cm}
  37. <?lsmb if contact ?>
  38. <?lsmb contact ?>
  39. <?lsmb end contact ?>
  40. \vspace{0.2cm}
  41. <?lsmb if customerphone ?>
  42. Tel: <?lsmb customerphone ?>
  43. <?lsmb end customerphone ?>
  44. <?lsmb if customerfax ?>
  45. Fax: <?lsmb customerfax ?>
  46. <?lsmb end customerfax ?>
  47. <?lsmb email ?>
  48. <?lsmb if customertaxnumber ?>
  49. Tax Number: <?lsmb customertaxnumber ?>
  50. <?lsmb end customertaxnumber ?>
  51. }
  52. \hfill
  53. \begin{tabular}[t]{ll}
  54. \textbf{Invoice \#} & <?lsmb invnumber ?> \\
  55. \textbf{Date} & <?lsmb invdate ?> \\
  56. \textbf{Due} & <?lsmb duedate ?> \\
  57. <?lsmb if ponumber ?>
  58. \textbf{PO \#} & <?lsmb ponumber ?> \\
  59. <?lsmb end ponumber ?>
  60. <?lsmb if ordnumber ?>
  61. \textbf{Order \#} & <?lsmb ordnumber ?> \\
  62. <?lsmb end ordnumber ?>
  63. \textbf{Employee} & <?lsmb employee ?> \\
  64. \end{tabular}
  65. \vspace{1cm}
  66. \begin{tabularx}{\textwidth}[t]{@{}llrX@{\hspace{1cm}}l@{}}
  67. <?lsmb foreach amount ?>
  68. <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb description ?> & <?lsmb projectnumber ?> \\
  69. <?lsmb end amount ?>
  70. \multicolumn{2}{r}{\textbf{Subtotal}} & <?lsmb subtotal ?> & \\
  71. <?lsmb foreach tax ?>
  72. \multicolumn{2}{r}{\textbf{<?lsmb taxdescription ?> @ <?lsmb taxrate ?> \%}} & <?lsmb tax ?> & \\
  73. <?lsmb end tax ?>
  74. \multicolumn{2}{r}{\textbf{Total}} & <?lsmb invtotal ?> & \\
  75. \end{tabularx}
  76. \vspace{0.3cm}
  77. <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?>
  78. <?lsmb if notes ?>
  79. \vspace{0.3cm}
  80. <?lsmb notes ?>
  81. <?lsmb end notes ?>
  82. \vspace{0.3cm}
  83. <?lsmb if paid_1 ?>
  84. \begin{tabular}{@{}lllr@{}}
  85. \multicolumn{5}{c}{\textbf{Payments}} \\
  86. \hline
  87. \textbf{Date} & & \textbf{Source} & \textbf{Amount} \\
  88. <?lsmb end paid_1 ?>
  89. <?lsmb foreach payment ?>
  90. <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb payment ?> \\
  91. <?lsmb end payment ?>
  92. <?lsmb if paid_1 ?>
  93. \end{tabular}
  94. <?lsmb end paid_1 ?>
  95. \vspace{0.5cm}
  96. <?lsmb foreach tax ?>
  97. \textbf{\scriptsize <?lsmb taxdescription ?> Registration <?lsmb taxnumber ?>} \\
  98. <?lsmb end tax ?>
  99. \end{document}