summaryrefslogtreecommitdiff
path: root/templates/Brazilian_Portuguese-ap_transaction.tex
blob: c889ada0ff645e17eb8d86900e287422097d097c (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{myheadings}
  9. \thispagestyle{empty}
  10. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  11. \vspace*{-1.3cm}
  12. \parbox{\textwidth}{%
  13.   \parbox[b]{.42\textwidth}{%
  14. <?lsmb company ?>
  15. <?lsmb address ?>
  16. }
  17. \parbox[b]{.2\textwidth}{
  18. \includegraphics[scale=0.3]{ledger-smb}
  19. }\hfill
  20. \begin{tabular}[b]{rr@{}}
  21. Telephone & <?lsmb tel ?>\\
  22. Facsimile & <?lsmb 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. <?lsmb name ?>
  30. <?lsmb address1 ?>
  31. <?lsmb address2 ?>
  32. <?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
  33. <?lsmb country ?>
  34. \vspace{0.3cm}
  35. <?lsmb if contact ?>
  36. <?lsmb contact ?>
  37. <?lsmb end contact ?>
  38. \vspace{0.2cm}
  39. <?lsmb if customerphone ?>
  40. Tel: <?lsmb customerphone ?>
  41. <?lsmb end customerphone ?>
  42. <?lsmb if customerfax ?>
  43. Fax: <?lsmb customerfax ?>
  44. <?lsmb end customerfax ?>
  45. <?lsmb email ?>
  46. }
  47. \hfill
  48. \begin{tabular}[t]{ll}
  49. \textbf{Invoice \#} & <?lsmb invnumber ?> \\
  50. \textbf{Date} & <?lsmb invdate ?> \\
  51. \textbf{Due} & <?lsmb duedate ?> \\
  52. \textbf{Order \#} & <?lsmb ordnumber ?> \\
  53. \textbf{Employee} & <?lsmb employee ?> \\
  54. \end{tabular}
  55. \vspace{1cm}
  56. \begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
  57. <?lsmb foreach amount ?>
  58. <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb projectnumber ?> \\
  59. <?lsmb end amount ?>
  60. \multicolumn{2}{r}{\textbf{Subtotal}} & <?lsmb subtotal ?> & \\
  61. <?lsmb foreach tax ?>
  62. \multicolumn{2}{r}{\textbf{<?lsmb taxdescription ?> @ <?lsmb taxrate ?> \%}} & <?lsmb tax ?> & \\
  63. <?lsmb end tax ?>
  64. \multicolumn{2}{r}{\textbf{Total}} & <?lsmb invtotal ?> & \\
  65. \end{tabularx}
  66. <?lsmb notes ?>
  67. \vspace{0.3cm}
  68. <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?>
  69. \vspace{0.3cm}
  70. <?lsmb if paid ?>
  71. \begin{tabular}{@{}llllr@{}}
  72. \multicolumn{5}{c}{\textbf{Payments}} \\
  73. \hline
  74. \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
  75. <?lsmb end paid ?>
  76. <?lsmb foreach payment ?>
  77. <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb paymentmemo ?> & <?lsmb payment ?> \\
  78. <?lsmb end payment ?>
  79. <?lsmb if paid ?>
  80. \end{tabular}
  81. <?lsmb end paid ?>
  82. \end{document}