summaryrefslogtreecommitdiff
path: root/templates/Traditional_Chinese_Big5-purchase_order.tex
blob: fe1e6428b0f626e49e931acab3d70a1b4d124e06 (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. \begin{document}
  7. \pagestyle{myheadings}
  8. \thispagestyle{empty}
  9. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  10. <%include letterhead.tex%>
  11. <%pagebreak 65 27 48%>
  12. \end{tabularx}
  13.   \rule{\textwidth}{2pt}
  14. \hfill
  15. \begin{tabularx}{7cm}{Xr@{\hspace{1cm}r@{}}
  16. & Subtotal & <%sumcarriedforward%> \\
  17. \end{tabularx}
  18. \newpage
  19. \markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
  20. \begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
  21. \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  22. \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
  23. & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
  24. <%end pagebreak%>
  25. \vspace*{0.5cm}
  26. \parbox[t]{.5\textwidth}{
  27. \textbf{To}
  28. \vspace{0.3cm}
  29. <%name%>
  30. <%address1%>
  31. <%address2%>
  32. <%city%>
  33. <%if state%>
  34. \hspace{-0.1cm}, <%state%>
  35. <%end state%>
  36. <%zipcode%>
  37. <%country%>
  38. \vspace{0.3cm}
  39. <%if contact%>
  40. Attn: <%contact%>
  41. \vspace{0.2cm}
  42. <%end contact%>
  43. <%if vendorphone%>
  44. Tel: <%vendorphone%>
  45. <%end vendorphone%>
  46. <%if vendorfax%>
  47. Fax: <%vendorfax%>
  48. <%end vendorfax%>
  49. <%email%>
  50. }
  51. \parbox[t]{.5\textwidth}{
  52. \textbf{Ship To}
  53. \vspace{0.3cm}
  54. <%shiptoname%>
  55. <%shiptoaddress1%>
  56. <%shiptoaddress2%>
  57. <%shiptocity%>
  58. <%if shiptostate%>
  59. \hspace{-0.1cm}, <%shiptostate%>
  60. <%end shiptostate%>
  61. <%shiptozipcode%>
  62. <%shiptocountry%>
  63. \vspace{0.3cm}
  64. <%if shiptocontact%>
  65. Attn: <%shiptocontact%>
  66. \vspace{0.2cm}
  67. <%end shiptocontact%>
  68. <%if shiptophone%>
  69. Tel: <%shiptophone%>
  70. <%end shiptophone%>
  71. <%if shiptofax%>
  72. Fax: <%shiptofax%>
  73. <%end shiptofax%>
  74. <%shiptoemail%>
  75. }
  76. \hfill
  77. \vspace{1cm}
  78. \textbf{P U R C H A S E} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
  79. \hfill
  80. \vspace{1cm}
  81. \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
  82. \textbf{Order \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
  83. \hline
  84. <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
  85. \hline
  86. \end{tabularx}
  87. \vspace{1cm}
  88. \begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
  89. \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  90. \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
  91. <%foreach number%>
  92. <%number%> & <%description%> & <%qty%> &
  93. <%unit%> & <%sellprice%> & <%linetotal%> \\
  94. <%end number%>
  95. \end{tabularx}
  96. \parbox{\textwidth}{
  97. \rule{\textwidth}{2pt}
  98. \vspace{0.2cm}
  99. \hfill
  100. \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}}
  101. & Subtotal & <%subtotal%> \\
  102. <%foreach tax%>
  103. & <%taxdescription%> on <%taxbase%> & <%tax%>\\
  104. <%end tax%>
  105. \hline
  106. & Total & <%ordtotal%>\\
  107. \end{tabularx}
  108. \vspace{0.3cm}
  109. \hfill
  110. All prices in \textbf{<%currency%>}.
  111. \vspace{12pt}
  112. <%notes%>
  113. }
  114. %\renewcommand{\thefootnote}{\fnsymbol{footnote}}
  115. %\footnotetext[1]{\tiny }
  116. \end{document}