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