summaryrefslogtreecommitdiff
path: root/templates/Traditional_Chinese_UTF8-ap_transaction.tex
blob: 5cd134cce7eca55d69f1ea102b2403a2f217adb5 (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. <%include letterhead.tex%>
  12. \centerline{\textbf{A P} \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. <%name%>
  16. <%address1%>
  17. <%address2%>
  18. <%city%>
  19. <%if state>
  20. \hspace{-0.1cm}, <%state%>
  21. <%end state%> <%zipcode%>
  22. <%country%>
  23. \vspace{0.3cm}
  24. <%if contact%>
  25. <%contact%>
  26. \vspace{0.2cm}
  27. <%end contact%>
  28. <%if vendorphone%>
  29. Tel: <%vendorphone%>
  30. <%end vendorphone%>
  31. <%if vendorfax%>
  32. Fax: <%vendorfax%>
  33. <%end vendorfax%>
  34. <%email%>
  35. <%if vendortaxnumber%>
  36. Tax Number: <%vendortaxnumber%>
  37. <%end vendortaxnumber%>
  38. }
  39. \hfill
  40. \begin{tabular}[t]{ll}
  41. \textbf{Invoice \#} & <%invnumber%> \\
  42. \textbf{Date} & <%invdate%> \\
  43. \textbf{Due} & <%duedate%> \\
  44. <%if ponumber%>
  45. \textbf{PO \#} & <%ponumber%> \\
  46. <%end ponumber%>
  47. <%if ordnumber%>
  48. \textbf{Order \#} & <%ordnumber%> \\
  49. <%end ordnumber%>
  50. \textbf{Employee} & <%employee%> \\
  51. \end{tabular}
  52. \vspace{1cm}
  53. \begin{tabularx}{\textwidth}[t]{@{}llrX@{\hspace{1cm}}l@{}}
  54. <%foreach amount%>
  55. <%accno%> & <%account%> & <%amount%> & <%description%> & <%projectnumber%> \\
  56. <%end amount%>
  57. \multicolumn{2}{r}{\textbf{Subtotal}} & <%subtotal%> & \\
  58. <%foreach tax%>
  59. \multicolumn{2}{r}{\textbf{<%taxdescription%> @ <%taxrate%> \%}} & <%tax%> & \\
  60. <%end tax%>
  61. \multicolumn{2}{r}{\textbf{Total}} & <%invtotal%> & \\
  62. \end{tabularx}
  63. \vspace{0.3cm}
  64. <%text_amount%> ***** <%decimal%>/100 <%currency%>
  65. <%if notes%>
  66. \vspace{0.3cm}
  67. <%notes%>
  68. <%end notes%>
  69. \vspace{0.3cm}
  70. <%if paid_1%>
  71. \begin{tabular}{@{}llllr@{}}
  72. \multicolumn{5}{c}{\textbf{Payments}} \\
  73. \hline
  74. \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
  75. <%end paid_1%>
  76. <%foreach payment%>
  77. <%paymentdate%> & <%paymentaccount%> & <%paymentsource%> & <%paymentmemo%> & <%payment%> \\
  78. <%end payment%>
  79. <%if paid_1%>
  80. \end{tabular}
  81. <%end paid_1%>
  82. \end{document}