summaryrefslogtreecommitdiff
path: root/templates/Default-purchase_order.tex
blob: 260bec9984cbf0f80c8e0d382f4b382e3a18c63a (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. <?lsmb include letterhead.tex ?>
  11. <?lsmb pagebreak 65 27 48 ?>
  12. \end{tabularx}
  13. \rule{\textwidth}{2pt}
  14. \hfill
  15. \begin{tabularx}{7cm}{Xr@{\hspace{1cm}r@{}}
  16. & Subtotal & <?lsmb sumcarriedforward ?> \\
  17. \end{tabularx}
  18. \newpage
  19. \markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb 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 <?lsmb lastpage ?> & & & & <?lsmb sumcarriedforward ?> \\
  24. <?lsmb end pagebreak ?>
  25. \vspace*{0.5cm}
  26. \parbox[t]{.5\textwidth}{
  27. \textbf{To}
  28. \vspace{0.3cm}
  29. <?lsmb name ?>
  30. <?lsmb address1 ?>
  31. <?lsmb address2 ?>
  32. <?lsmb city ?>
  33. <?lsmb if state ?>
  34. \hspace{-0.1cm}, <?lsmb state ?>
  35. <?lsmb end state ?>
  36. <?lsmb zipcode ?>
  37. <?lsmb country ?>
  38. \vspace{0.3cm}
  39. <?lsmb if contact ?>
  40. Attn: <?lsmb contact ?>
  41. \vspace{0.2cm}
  42. <?lsmb end contact ?>
  43. <?lsmb if vendorphone ?>
  44. Tel: <?lsmb vendorphone ?>
  45. <?lsmb end vendorphone ?>
  46. <?lsmb if vendorfax ?>
  47. Fax: <?lsmb vendorfax ?>
  48. <?lsmb end vendorfax ?>
  49. <?lsmb email ?>
  50. }
  51. \parbox[t]{.5\textwidth}{
  52. \textbf{Ship To}
  53. \vspace{0.3cm}
  54. <?lsmb shiptoname ?>
  55. <?lsmb shiptoaddress1 ?>
  56. <?lsmb shiptoaddress2 ?>
  57. <?lsmb shiptocity ?>
  58. <?lsmb if shiptostate ?>
  59. \hspace{-0.1cm}, <?lsmb shiptostate ?>
  60. <?lsmb end shiptostate ?>
  61. <?lsmb shiptozipcode ?>
  62. <?lsmb shiptocountry ?>
  63. \vspace{0.3cm}
  64. <?lsmb if shiptocontact ?>
  65. Attn: <?lsmb shiptocontact ?>
  66. \vspace{0.2cm}
  67. <?lsmb end shiptocontact ?>
  68. <?lsmb if shiptophone ?>
  69. Tel: <?lsmb shiptophone ?>
  70. <?lsmb end shiptophone ?>
  71. <?lsmb if shiptofax ?>
  72. Fax: <?lsmb shiptofax ?>
  73. <?lsmb end shiptofax ?>
  74. <?lsmb 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. <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb 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. <?lsmb foreach number ?>
  92. <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> &
  93. <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb linetotal ?> \\
  94. <?lsmb 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 & <?lsmb subtotal ?> \\
  102. <?lsmb foreach tax ?>
  103. & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\
  104. <?lsmb end tax ?>
  105. \hline
  106. & Total & <?lsmb ordtotal ?>\\
  107. \end{tabularx}
  108. \vspace{0.3cm}
  109. \hfill
  110. All prices in \textbf{<?lsmb currency ?>}.
  111. \vspace{12pt}
  112. <?lsmb notes ?>
  113. }
  114. %\renewcommand{\thefootnote}{\fnsymbol{footnote}}
  115. %\footnotetext[1]{\tiny }
  116. \end{document}