summaryrefslogtreecommitdiff
path: root/templates/demo/purchase_order.html
blob: 6645ac9bf4ae0896309aeb732e9e65d62d71ad27 (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>&nbsp;</td>
  97. <td>
  98. <table width="100%">
  99. <tr bgcolor=000000>
  100. <th align=right><font color=ffffff>Item</th>
  101. <th align=left><font color=ffffff>Number</th>
  102. <th align=left><font color=ffffff>Description</th>
  103. <th><font color=ffffff>Qt'y</th>
  104. <th>&nbsp;</th>
  105. <th><font color=ffffff>Price</th>
  106. <th><font color=ffffff>%</th>
  107. <th><font color=ffffff>Amount</th>
  108. </tr>
  109. <?lsmb foreach number ?>
  110. <tr valign=top>
  111. <td align=right><?lsmb runningnumber ?>.</td>
  112. <td><?lsmb number ?></td>
  113. <td><?lsmb description ?></td>
  114. <td align=right><?lsmb qty ?></td>
  115. <td><?lsmb unit ?></td>
  116. <td align=right><?lsmb sellprice ?></td>
  117. <td align=right><?lsmb discountrate ?></th>
  118. <td align=right><?lsmb linetotal ?></td>
  119. </tr>
  120. <?lsmb end number ?>
  121. <tr>
  122. <td colspan=8><hr noshade></td>
  123. </tr>
  124. <tr>
  125. <?lsmb if taxincluded ?>
  126. <th colspan=7 align=right>Total</th>
  127. <th colspan=1 align=right><?lsmb ordtotal ?></th>
  128. <?lsmb end taxincluded ?>
  129. <?lsmb if not taxincluded ?>
  130. <th colspan=7 align=right>Subtotal</th>
  131. <td colspan=1 align=right><?lsmb subtotal ?></td>
  132. <?lsmb end taxincluded ?>
  133. </tr>
  134. <?lsmb foreach tax ?>
  135. <tr>
  136. <th colspan=7 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
  137. <td colspan=1 align=right><?lsmb tax ?></td>
  138. </tr>
  139. <?lsmb end tax ?>
  140. <tr>
  141. <td colspan=4>&nbsp;</td>
  142. <td colspan=4><hr noshade></td>
  143. </tr>
  144. <?lsmb if not taxincluded ?>
  145. <th colspan=7 align=right>Total</th>
  146. <td colspan=1 align=right><?lsmb ordtotal ?></td>
  147. <?lsmb end taxincluded ?>
  148. <?lsmb if terms ?>
  149. <tr>
  150. <td colspan=4>Terms Net <b><?lsmb terms ?></b> days</td>
  151. <th colspan=3 align=right>Total</th>
  152. <th colspan=1 align=right><?lsmb ordtotal ?></th>
  153. </tr>
  154. <?lsmb end terms ?>
  155. <?lsmb if taxincluded ?>
  156. <tr>
  157. <td colspan=2>Tax included</td>
  158. </tr>
  159. <?lsmb end taxincluded ?>
  160. <tr>
  161. <td>&nbsp;</td>
  162. </tr>
  163. <?lsmb if ordtotal ?>
  164. <tr>
  165. <td colspan=8 align=right>
  166. All prices in <b><?lsmb currency ?></b> Funds
  167. </td>
  168. </tr>
  169. <?lsmb end ordtotal ?>
  170. </table>
  171. </td>
  172. </tr>
  173. <?lsmb if notes ?>
  174. <tr>
  175. <td>&nbsp;</td>
  176. <td>
  177. <table width="100%">
  178. <tr valign=top>
  179. <td>Notes</td>
  180. <td><?lsmb notes ?></td>
  181. </tr>
  182. </table>
  183. </td>
  184. </tr>
  185. <?lsmb end notes ?>
  186. <tr>
  187. <td>&nbsp;</td>
  188. <td>
  189. <table width="100%">
  190. <tr valign=top>
  191. <td width="70%">&nbsp;</td>
  192. <td width="30%">
  193. X <hr noshade>
  194. </td>
  195. </tr>
  196. </table>
  197. </td>
  198. </tr>
  199. </table>
  200. </body>
  201. </html>