summaryrefslogtreecommitdiff
path: root/templates/Default-purchase_order.html
blob: 656f452756010a74bca4b3a1705a9f91ebc7000d (plain)
  1. <body bgcolor=ffffff>
  2. <table width=100 ?>
  3. <?lsmb 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><?lsmb name ?>
  20. <br><?lsmb address1 ?>
  21. <?lsmb if address2 ?>
  22. <br><?lsmb address2 ?>
  23. <?lsmb end address2 ?>
  24. <br><?lsmb city ?>
  25. <?lsmb if state ?>
  26. , <?lsmb state ?>
  27. <?lsmb end state ?>
  28. <?lsmb zipcode ?>
  29. <?lsmb if country ?>
  30. <br><?lsmb country ?>
  31. <?lsmb end country ?>
  32. <br>
  33. <?lsmb if contact ?>
  34. <br>Attn: <?lsmb contact ?>
  35. <?lsmb end contact ?>
  36. <?lsmb if vendorphone ?>
  37. <br>Tel: <?lsmb vendorphone ?>
  38. <?lsmb end vendorphone ?>
  39. <?lsmb if vendorfax ?>
  40. <br>Fax: <?lsmb vendorfax ?>
  41. <?lsmb end vendorfax ?>
  42. </td>
  43. <td><?lsmb shiptoname ?>
  44. <br><?lsmb shiptoaddress1 ?>
  45. <?lsmb if shiptoaddress2 ?>
  46. <br><?lsmb shiptoaddress2 ?>
  47. <?lsmb end shiptoaddress2 ?>
  48. <br><?lsmb shiptocity ?>
  49. <?lsmb if shiptostate ?>
  50. , <?lsmb shiptostate ?>
  51. <?lsmb end shiptostate ?>
  52. <?lsmb shiptozipcode ?>
  53. <?lsmb if shiptocountry ?>
  54. <br><?lsmb shiptocountry ?>
  55. <?lsmb end shiptocountry ?>
  56. <br>
  57. <?lsmb if shiptocontact ?>
  58. <br>Attn: <?lsmb shiptocontact ?>
  59. <?lsmb end shiptocontact ?>
  60. <?lsmb if shiptophone ?>
  61. <br>Tel: <?lsmb shiptophone ?>
  62. <?lsmb end shiptophone ?>
  63. <?lsmb if shiptofax ?>
  64. <br>Fax: <?lsmb shiptofax ?>
  65. <?lsmb 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><?lsmb ordnumber ?></td>
  86. <td><?lsmb orddate ?></td>
  87. <td><?lsmb reqdate ?></td>
  88. <td><?lsmb employee ?></td>
  89. <td><?lsmb shippingpoint ?>&nbsp;</td>
  90. <td><?lsmb 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. <?lsmb foreach number ?>
  109. <tr valign=top>
  110. <td align=right><?lsmb runningnumber ?>.</td>
  111. <td><?lsmb number ?></td>
  112. <td><?lsmb description ?></td>
  113. <td align=right><?lsmb qty ?></td>
  114. <td><?lsmb unit ?></td>
  115. <td align=right><?lsmb sellprice ?></td>
  116. <td align=right><?lsmb discountrate ?></th>
  117. <td align=right><?lsmb linetotal ?></td>
  118. </tr>
  119. <?lsmb end number ?>
  120. <tr>
  121. <td colspan=8><hr noshade></td>
  122. </tr>
  123. <tr>
  124. <?lsmb if taxincluded ?>
  125. <th colspan=7 align=right>Total</th>
  126. <th colspan=1 align=right><?lsmb ordtotal ?></th>
  127. <?lsmb end taxincluded ?>
  128. <?lsmb if not taxincluded ?>
  129. <th colspan=7 align=right>Subtotal</th>
  130. <td colspan=1 align=right><?lsmb subtotal ?></td>
  131. <?lsmb end taxincluded ?>
  132. </tr>
  133. <?lsmb foreach tax ?>
  134. <tr>
  135. <th colspan=7 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
  136. <td colspan=1 align=right><?lsmb tax ?></td>
  137. </tr>
  138. <?lsmb end tax ?>
  139. <tr>
  140. <td colspan=4>&nbsp;</td>
  141. <td colspan=4><hr noshade></td>
  142. </tr>
  143. <?lsmb if not taxincluded ?>
  144. <th colspan=7 align=right>Total</th>
  145. <td colspan=1 align=right><?lsmb ordtotal ?></td>
  146. <?lsmb end taxincluded ?>
  147. <?lsmb if terms ?>
  148. <tr>
  149. <td colspan=4>Terms Net <b><?lsmb terms ?></b> days</td>
  150. <th colspan=3 align=right>Total</th>
  151. <th colspan=1 align=right><?lsmb ordtotal ?></th>
  152. </tr>
  153. <?lsmb end terms ?>
  154. <?lsmb if taxincluded ?>
  155. <tr>
  156. <td colspan=2>Tax included</td>
  157. </tr>
  158. <?lsmb end taxincluded ?>
  159. <tr>
  160. <td>&nbsp;</td>
  161. </tr>
  162. <?lsmb if ordtotal ?>
  163. <tr>
  164. <td colspan=8 align=right>
  165. All prices in <b><?lsmb currency ?></b> Funds
  166. </td>
  167. </tr>
  168. <?lsmb end ordtotal ?>
  169. </table>
  170. </td>
  171. </tr>
  172. <?lsmb if notes ?>
  173. <tr>
  174. <td>&nbsp;</td>
  175. <td>
  176. <table width=100 ?>
  177. <tr valign=top>
  178. <td>Notes</td>
  179. <td><?lsmb notes ?></td>
  180. </tr>
  181. </table>
  182. </td>
  183. </tr>
  184. <?lsmb 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>