summaryrefslogtreecommitdiff
path: root/templates/spiff-en/sales_order.html
blob: e6c6a0d605f8c98472e00939078230fd8dbc91d3 (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>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><?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 customerphone ?>
  37. <br>Tel: <?lsmb customerphone ?>
  38. <?lsmb end customerphone ?>
  39. <?lsmb if customerfax ?>
  40. <br>Fax: <?lsmb customerfax ?>
  41. <?lsmb end customerfax ?>
  42. <?lsmb if email ?>
  43. <br><?lsmb email ?>
  44. <?lsmb end email ?>
  45. </td>
  46. <td><?lsmb shiptoname ?>
  47. <br><?lsmb shiptoaddress1 ?>
  48. <?lsmb if shiptoaddress2 ?>
  49. <br><?lsmb shiptoaddress2 ?>
  50. <?lsmb end shiptoaddress2 ?>
  51. <br><?lsmb shiptocity ?>
  52. <?lsmb if shiptostate ?>
  53. , <?lsmb shiptostate ?>
  54. <?lsmb end shiptostate ?>
  55. <?lsmb shiptozipcode ?>
  56. <?lsmb if shiptocountry ?>
  57. <br><?lsmb shiptocountry ?>
  58. <?lsmb end shiptocountry ?>
  59. <br>
  60. <?lsmb if shiptocontact ?>
  61. <br><?lsmb shiptocontact ?>
  62. <?lsmb end shiptocontact ?>
  63. <?lsmb if shiptophone ?>
  64. <br>Tel: <?lsmb shiptophone ?>
  65. <?lsmb end shiptophone ?>
  66. <?lsmb if shiptofax ?>
  67. <br>Fax: <?lsmb shiptofax ?>
  68. <?lsmb end shiptofax ?>
  69. <?lsmb if shiptoemail ?>
  70. <br><?lsmb shiptoemail ?>
  71. <?lsmb 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><?lsmb ordnumber ?></td>
  92. <td><?lsmb orddate ?></td>
  93. <td><?lsmb reqdate ?></td>
  94. <td><?lsmb employee ?></td>
  95. <td><?lsmb shippingpoint ?>&nbsp;</td>
  96. <td><?lsmb 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. <?lsmb foreach number ?>
  116. <tr valign=top>
  117. <td align=right><?lsmb runningnumber ?>.</td>
  118. <td><?lsmb number ?></td>
  119. <td><?lsmb description ?></td>
  120. <td align=right><?lsmb qty ?></td>
  121. <td><?lsmb unit ?></td>
  122. <td align=right><?lsmb sellprice ?></td>
  123. <td align=right><?lsmb discountrate ?></td>
  124. <td align=right><?lsmb linetotal ?></td>
  125. </tr>
  126. <?lsmb end number ?>
  127. <tr>
  128. <td colspan=8><hr noshade></td>
  129. </tr>
  130. <tr>
  131. <?lsmb if taxincluded ?>
  132. <th colspan=6 align=right>Total</th>
  133. <td colspan=2 align=right><?lsmb invtotal ?></td>
  134. <?lsmb end taxincluded ?>
  135. <?lsmb if not taxincluded ?>
  136. <th colspan=6 align=right>Subtotal</th>
  137. <td colspan=2 align=right><?lsmb subtotal ?></td>
  138. <?lsmb end taxincluded ?>
  139. </tr>
  140. <?lsmb foreach tax ?>
  141. <tr>
  142. <th colspan=6 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
  143. <td colspan=2 align=right><?lsmb tax ?></td>
  144. </tr>
  145. <?lsmb 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. <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100
  153. <?lsmb if terms ?>
  154. <br>Terms Net <b><?lsmb terms ?></b> days
  155. <?lsmb end terms ?>
  156. </td>
  157. <th colspan=2 align=right>Total</th>
  158. <th colspan=2 align=right><?lsmb 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. <?lsmb if notes ?>
  172. <td>Notes</td>
  173. <td><?lsmb notes ?></td>
  174. <?lsmb end notes ?>
  175. <td align=right nowrap>
  176. All prices in <?lsmb 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>