summaryrefslogtreecommitdiff
path: root/templates/Default-purchase_order.html
blob: ba4c1d4381493eeb80c9d4113182f4ddf00c6432 (plain)
  1. <body bgcolor=ffffff>
  2. <table width=100%>
  3. <%include letterhead.html%>
  4. <tr>
  5. <td width=10>&nbsp;</td>
  6. <th colspan=3>
  7. <h4>P U R C H A S E &nbsp;&nbsp; O R D E R</h4>
  8. </th>
  9. </tr>
  10. <tr>
  11. <td>&nbsp;</td>
  12. <td>
  13. <table width=100% callspacing=0 cellpadding=0>
  14. <tr bgcolor=000000>
  15. <th align=left width=50%><font color=ffffff>To:</th>
  16. <th align=left width=50%><font color=ffffff>Ship To:</th>
  17. </tr>
  18. <tr valign=top>
  19. <td><%name%>
  20. <br><%address1%>
  21. <%if address2%>
  22. <br><%address2%>
  23. <%end address2%>
  24. <br><%city%>
  25. <%if state%>
  26. , <%state%>
  27. <%end state%>
  28. <%zipcode%>
  29. <%if country%>
  30. <br><%country%>
  31. <%end country%>
  32. <br>
  33. <%if contact%>
  34. <br>Attn: <%contact%>
  35. <%end contact%>
  36. <%if vendorphone%>
  37. <br>Tel: <%vendorphone%>
  38. <%end vendorphone%>
  39. <%if vendorfax%>
  40. <br>Fax: <%vendorfax%>
  41. <%end vendorfax%>
  42. </td>
  43. <td><%shiptoname%>
  44. <br><%shiptoaddress1%>
  45. <%if shiptoaddress2%>
  46. <br><%shiptoaddress2%>
  47. <%end shiptoaddress2%>
  48. <br><%shiptocity%>
  49. <%if shiptostate%>
  50. , <%shiptostate%>
  51. <%end shiptostate%>
  52. <%shiptozipcode%>
  53. <%if shiptocountry%>
  54. <br><%shiptocountry%>
  55. <%end shiptocountry%>
  56. <br>
  57. <%if shiptocontact%>
  58. <br>Attn: <%shiptocontact%>
  59. <%end shiptocontact%>
  60. <%if shiptophone%>
  61. <br>Tel: <%shiptophone%>
  62. <%end shiptophone%>
  63. <%if shiptofax%>
  64. <br>Fax: <%shiptofax%>
  65. <%end shiptofax%>
  66. </td>
  67. </tr>
  68. </table>
  69. </td>
  70. </tr>
  71. <tr height=5></tr>
  72. <tr>
  73. <td>&nbsp;</td>
  74. <td>
  75. <table width=100% border=1>
  76. <tr>
  77. <th width=17% align=left>Order #</th>
  78. <th width=17% align=left>Order Date</th>
  79. <th width=17% align=left>Required by</th>
  80. <th width=17% align=left>Contact</th>
  81. <th width=17% align=left>Shipping Point</th>
  82. <th width=15% align=left>Ship Via</th>
  83. </tr>
  84. <tr>
  85. <td><%ordnumber%></td>
  86. <td><%orddate%></td>
  87. <td><%reqdate%></td>
  88. <td><%employee%></td>
  89. <td><%shippingpoint%>&nbsp;</td>
  90. <td><%shipvia%>&nbsp;</td>
  91. </tr>
  92. </table>
  93. </td>
  94. </tr>
  95. <tr>
  96. <td>
  97. <table width=100%>
  98. <tr bgcolor=000000>
  99. <th align=right><font color=ffffff>Item</th>
  100. <th align=left><font color=ffffff>Number</th>
  101. <th align=left><font color=ffffff>Description</th>
  102. <th><font color=ffffff>Qt'y</th>
  103. <th>&nbsp;</th>
  104. <th><font color=ffffff>Price</th>
  105. <th><font color=ffffff>%</th>
  106. <th><font color=ffffff>Amount</th>
  107. </tr>
  108. <%foreach number%>
  109. <tr valign=top>
  110. <td align=right><%runningnumber%>.</td>
  111. <td><%number%></td>
  112. <td><%description%></td>
  113. <td align=right><%qty%></td>
  114. <td><%unit%></td>
  115. <td align=right><%sellprice%></td>
  116. <td align=right><%discountrate%></th>
  117. <td align=right><%linetotal%></td>
  118. </tr>
  119. <%end number%>
  120. <tr>
  121. <td colspan=8><hr noshade></td>
  122. </tr>
  123. <tr>
  124. <%if taxincluded%>
  125. <th colspan=7 align=right>Total</th>
  126. <th colspan=1 align=right><%ordtotal%></th>
  127. <%end taxincluded%>
  128. <%if not taxincluded%>
  129. <th colspan=7 align=right>Subtotal</th>
  130. <td colspan=1 align=right><%subtotal%></td>
  131. <%end taxincluded%>
  132. </tr>
  133. <%foreach tax%>
  134. <tr>
  135. <th colspan=7 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
  136. <td colspan=1 align=right><%tax%></td>
  137. </tr>
  138. <%end tax%>
  139. <tr>
  140. <td colspan=4>&nbsp;</td>
  141. <td colspan=4><hr noshade></td>
  142. </tr>
  143. <%if not taxincluded%>
  144. <th colspan=7 align=right>Total</th>
  145. <td colspan=1 align=right><%ordtotal%></td>
  146. <%end taxincluded%>
  147. <%if terms%>
  148. <tr>
  149. <td colspan=4>Terms Net <b><%terms%></b> days</td>
  150. <th colspan=3 align=right>Total</th>
  151. <th colspan=1 align=right><%ordtotal%></th>
  152. </tr>
  153. <%end terms%>
  154. <%if taxincluded%>
  155. <tr>
  156. <td colspan=2>Tax included</td>
  157. </tr>
  158. <%end taxincluded%>
  159. <tr>
  160. <td>&nbsp;</td>
  161. </tr>
  162. <%if ordtotal%>
  163. <tr>
  164. <td colspan=8 align=right>
  165. All prices in <b><%currency%></b> Funds
  166. </td>
  167. </tr>
  168. <%end ordtotal%>
  169. </table>
  170. </td>
  171. </tr>
  172. <%if notes%>
  173. <tr>
  174. <td>&nbsp;</td>
  175. <td>
  176. <table width=100%>
  177. <tr valign=top>
  178. <td>Notes</td>
  179. <td><%notes%></td>
  180. </tr>
  181. </table>
  182. </td>
  183. </tr>
  184. <%end notes%>
  185. <tr>
  186. <td>&nbsp;</td>
  187. <td>
  188. <table width=100%>
  189. <tr valign=top>
  190. <td width=70%>&nbsp;</td>
  191. <td width=30%>
  192. X <hr noshade>
  193. </td>
  194. </tr>
  195. </table>
  196. </td>
  197. </tr>
  198. </table>
  199. </body>
  200. </html>