summaryrefslogtreecommitdiff
path: root/templates/Brazilian_Portuguese-ap_transaction.tex
blob: 3fde80a1a8952f8fd1051f4cc1bc1b70024dde46 (plain)
  1. \documentclass{scrartcl}
  2. \usepackage[latin1]{inputenc}
  3. \usepackage{tabularx}
  4. \usepackage[top=2cm,bottom=-1cm,left=2cm,right=1cm]{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. \vspace*{-1.3cm}
  12. \parbox{\textwidth}{%
  13.   \parbox[b]{.42\textwidth}{%
  14. <%company%>
  15. <%address%>
  16. }
  17. \parbox[b]{.2\textwidth}{
  18. \includegraphics[scale=0.3]{sql-ledger}
  19. }\hfill
  20. \begin{tabular}[b]{rr@{}}
  21. Telephone & <%tel%>\\
  22. Facsimile & <%fax%>
  23. \end{tabular}
  24. \rule[1.5em]{\textwidth}{0.5pt}
  25. }
  26. \centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
  27. \vspace*{0.5cm}
  28. \parbox[t]{.5\textwidth}{
  29. <%name%>
  30. <%address1%>
  31. <%address2%>
  32. <%city%> <%state%> <%zipcode%>
  33. <%country%>
  34. \vspace{0.3cm}
  35. <%if contact%>
  36. <%contact%>
  37. <%end contact%>
  38. \vspace{0.2cm}
  39. <%if customerphone%>
  40. Tel: <%customerphone%>
  41. <%end customerphone%>
  42. <%if customerfax%>
  43. Fax: <%customerfax%>
  44. <%end customerfax%>
  45. <%email%>
  46. }
  47. \hfill
  48. \begin{tabular}[t]{ll}
  49. \textbf{Invoice \#} & <%invnumber%> \\
  50. \textbf{Date} & <%invdate%> \\
  51. \textbf{Due} & <%duedate%> \\
  52. \textbf{Order \#} & <%ordnumber%> \\
  53. \textbf{Employee} & <%employee%> \\
  54. \end{tabular}
  55. \vspace{1cm}
  56. \begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
  57. <%foreach amount%>
  58. <%accno%> & <%account%> & <%amount%> & <%projectnumber%> \\
  59. <%end amount%>
  60. \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
  61. <%foreach tax%>
  62. \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
  63. <%end tax%>
  64. \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
  65. \end{tabularx}
  66. <%notes%>
  67. \vspace{0.3cm}
  68. <%text_amount%> ***** <%decimal%>/100 <%currency%>
  69. \vspace{0.3cm}
  70. <%if paid%>
  71. \begin{tabular}{@{}llllr@{}}
  72. \multicolumn{5}{c}{\textbf{Payments}} \\
  73. \hline
  74. \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
  75. <%end paid%>
  76. <%foreach payment%>
  77. <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
  78. <%end payment%>
  79. <%if paid%>
  80. \end{tabular}
  81. <%end paid%>
  82. \end{document}