summaryrefslogtreecommitdiff
path: root/templates/demo/sales_order.html
blob: 14c17e1e8b9d7ce8246b9ef76169e7e7e909f003 (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>S A L E S &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 customerphone%>
  37. <br>Tel: <%customerphone%>
  38. <%end customerphone%>
  39. <%if customerfax%>
  40. <br>Fax: <%customerfax%>
  41. <%end customerfax%>
  42. <%if email%>
  43. <br><%email%>
  44. <%end email%>
  45. </td>
  46. <td><%shiptoname%>
  47. <br><%shiptoaddress1%>
  48. <%if shiptoaddress2%>
  49. <br><%shiptoaddress2%>
  50. <%end shiptoaddress2%>
  51. <br><%shiptocity%>
  52. <%if shiptostate%>
  53. , <%shiptostate%>
  54. <%end shiptostate%>
  55. <%shiptozipcode%>
  56. <%if shiptocountry%>
  57. <br><%shiptocountry%>
  58. <%end shiptocountry%>
  59. <br>
  60. <%if shiptocontact%>
  61. <br><%shiptocontact%>
  62. <%end shiptocontact%>
  63. <%if shiptophone%>
  64. <br>Tel: <%shiptophone%>
  65. <%end shiptophone%>
  66. <%if shiptofax%>
  67. <br>Fax: <%shiptofax%>
  68. <%end shiptofax%>
  69. <%if shiptoemail%>
  70. <br><%shiptoemail%>
  71. <%end shiptoemail%>
  72. </td>
  73. </tr>
  74. </table>
  75. </td>
  76. </tr>
  77. <tr height=5></tr>
  78. <tr>
  79. <td>&nbsp;</td>
  80. <td>
  81. <table width=100% border=1>
  82. <tr>
  83. <th width=17% align=left nowrap>Order #</th>
  84. <th width=17% align=left>Order Date</th>
  85. <th width=17% align=left>Required by</th>
  86. <th width=17% align=left nowrap>Salesperson</th>
  87. <th width=17% align=left nowrap>Shipping Point</th>
  88. <th width=15% align=left nowrap>Ship Via</th>
  89. </tr>
  90. <tr>
  91. <td><%ordnumber%></td>
  92. <td><%orddate%></td>
  93. <td><%reqdate%></td>
  94. <td><%employee%></td>
  95. <td><%shippingpoint%>&nbsp;</td>
  96. <td><%shipvia%>&nbsp;</td>
  97. </tr>
  98. </table>
  99. </td>
  100. </tr>
  101. <tr>
  102. <td>&nbsp;</td>
  103. <td>
  104. <table width=100%>
  105. <tr bgcolor=000000>
  106. <th align=right><font color=ffffff>Item</th>
  107. <th align=left><font color=ffffff>Number</th>
  108. <th align=left><font color=ffffff>Description</th>
  109. <th><font color=ffffff>Qt'y</th>
  110. <th>&nbsp;</th>
  111. <th><font color=ffffff>Price</th>
  112. <th><font color=ffffff>Disc %</th>
  113. <th><font color=ffffff>Amount</th>
  114. </tr>
  115. <%foreach number%>
  116. <tr valign=top>
  117. <td align=right><%runningnumber%>.</td>
  118. <td><%number%></td>
  119. <td><%description%></td>
  120. <td align=right><%qty%></td>
  121. <td><%unit%></td>
  122. <td align=right><%sellprice%></td>
  123. <td align=right><%discountrate%></td>
  124. <td align=right><%linetotal%></td>
  125. </tr>
  126. <%end number%>
  127. <tr>
  128. <td colspan=8><hr noshade></td>
  129. </tr>
  130. <tr>
  131. <%if taxincluded%>
  132. <th colspan=6 align=right>Total</th>
  133. <td colspan=2 align=right><%invtotal%></td>
  134. <%end taxincluded%>
  135. <%if not taxincluded%>
  136. <th colspan=6 align=right>Subtotal</th>
  137. <td colspan=2 align=right><%subtotal%></td>
  138. <%end taxincluded%>
  139. </tr>
  140. <%foreach tax%>
  141. <tr>
  142. <th colspan=6 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
  143. <td colspan=2 align=right><%tax%></td>
  144. </tr>
  145. <%end tax%>
  146. <tr>
  147. <td colspan=4>&nbsp;</td>
  148. <td colspan=4><hr noshade></td>
  149. </tr>
  150. <tr>
  151. <td colspan=4>
  152. <%text_amount%> ***** <%decimal%>/100
  153. <%if terms%>
  154. <br>Terms Net <b><%terms%></b> days
  155. <%end terms%>
  156. </td>
  157. <th colspan=2 align=right>Total</th>
  158. <th colspan=2 align=right><%ordtotal%></th>
  159. </tr>
  160. <tr>
  161. <td>&nbsp;</td>
  162. </tr>
  163. </table>
  164. </td>
  165. </tr>
  166. <tr>
  167. <td>&nbsp;</td>
  168. <td>
  169. <table width=100%>
  170. <tr valign=top>
  171. <%if notes%>
  172. <td>Notes</td>
  173. <td><%notes%></td>
  174. <%end notes%>
  175. <td align=right nowrap>
  176. All prices in <%currency%> Funds</b>
  177. </td>
  178. </tr>
  179. </table>
  180. </td>
  181. </tr>
  182. <tr>
  183. <td>&nbsp;</td>
  184. <td>
  185. <table width=100%>
  186. <tr valign=top>
  187. <td width=60%><font size=-3>
  188. Special order items are subject to a 10% order cancellation fee.
  189. </font>
  190. </td>
  191. <td width=40%>
  192. X <hr noshade>
  193. </td>
  194. </tr>
  195. </table>
  196. </td>
  197. </tr>
  198. </table>
  199. </body>
  200. </html>