summaryrefslogtreecommitdiff
path: root/templates/spiff-en/invoice.html.orig
blob: f7b200891e85afce2d137723d20e122021c570d6 (plain)
  1. <body bgcolor="white">
  2. <table width="100%">
  3. <tr valign="bottom">
  4. <td width="10">&nbsp;</td>
  5. <td>
  6. <table width="100%">
  7. <tr>
  8. <td>
  9. <h4>
  10. <%company%>
  11. <br><%address%>
  12. </h4>
  13. </td>
  14. <td align="right">
  15. <h4>
  16. Tel: <%tel%>
  17. <br>Fax: <%fax%>
  18. </h4>
  19. </td>
  20. </tr>
  21. <tr>
  22. <th colspan="3">
  23. <h4>I N V O I C E</h4>
  24. </th>
  25. </tr>
  26. </table>
  27. <table width="100%" cellspacing="0" cellpadding="0">
  28. <tr>
  29. <td align="right">
  30. <table>
  31. <tr>
  32. <th align="right">Invoice Date</th><td width="10">&nbsp;</td><td><%invdate%></td>
  33. </tr>
  34. <tr>
  35. <th align="right">Due Date</th><td width="10">&nbsp;</td><td><%duedate%></td>
  36. </tr>
  37. <tr>
  38. <th align="right">Number</th><td>&nbsp;</td><td><%invnumber%></td>
  39. </tr>
  40. <!--
  41. <tr>
  42. <th align="right">Clerk:</th><td>&nbsp;</td><td><%username%></td>
  43. </tr>
  44. -->
  45. <tr>
  46. <td>&nbsp;</td>
  47. </tr>
  48. </table>
  49. </td>
  50. </tr>
  51. <tr>
  52. <td>
  53. <table width="100%">
  54. <tr bgcolor="black">
  55. <th align="left"><font color="white">Bill To:</font></th>
  56. <th align="left"><font color="white">Ship To:</font></th>
  57. </tr>
  58. <!--
  59. other variables which can be use:
  60. contact, shiptocontact, shiptophone, shiptofax
  61. -->
  62. <tr>
  63. <td><%name%>
  64. <br><%addr1%>
  65. <br><%addr2%>
  66. <br><%addr3%>
  67. <br><%addr4%>
  68. </td>
  69. <td><%shiptoname%>
  70. <br><%shiptoaddr1%>
  71. <br><%shiptoaddr2%>
  72. <br><%shiptoaddr3%>
  73. <br><%shiptoaddr4%>
  74. </td>
  75. </tr>
  76. </table>
  77. </td>
  78. </tr>
  79. <tr>
  80. <td>&nbsp;</td>
  81. </tr>
  82. <tr>
  83. <td>
  84. <table width="100%">
  85. <tr bgcolor="black">
  86. <!-- <th align="right"><font color="white">No.</font></th> -->
  87. <th align="left"><font color="white">Number</font></th>
  88. <th align="left"><font color="white">Description</font></th>
  89. <th><font color="white">Qt'y</font></th>
  90. <th>&nbsp;</th>
  91. <th><font color="white">Price</font></th>
  92. <th><font color="white">Disc</font></th>
  93. <th><font color="white">Amount</font></th>
  94. </tr>
  95. <%foreach number%>
  96. <tr valign="top">
  97. <!-- <td align="right"><%runningnumber%>.</td>
  98. adjust the colspan if you include this to shift subtotal one to the right
  99. -->
  100. <td><%number%></td>
  101. <td><%description%></td>
  102. <td align="right"><%qty%></td>
  103. <td><%unit%></td>
  104. <td align="right"><%sellprice%></td>
  105. <td align="right"><%discount%></td>
  106. <td align="right"><%linetotal%></td>
  107. </tr>
  108. <%end number%>
  109. <!--
  110. you can also use netprice instead of sellprice if you
  111. don't want to show the discount
  112. netprice = sellprice - discount
  113. -->
  114. <tr>
  115. <td colspan="7"><hr noshade></td>
  116. </tr>
  117. <tr>
  118. <%if taxincluded%>
  119. <th colspan="5" align="right">Total</th>
  120. <td colspan="2" align="right"><%invtotal%></td>
  121. <%end taxincluded%>
  122. <%if not taxincluded%>
  123. <th colspan="5" align="right">Subtotal</th>
  124. <td colspan="2" align="right"><%subtotal%></td>
  125. <%end taxincluded%>
  126. </tr>
  127. <%foreach tax%>
  128. <tr>
  129. <th colspan="5" align="right"><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
  130. <td colspan="2" align="right"><%tax%></td>
  131. </tr>
  132. <%end tax%>
  133. <%if paid%>
  134. <tr>
  135. <th colspan="5" align="right">Paid</th>
  136. <td colspan="2" align="right">- <%paid%></td>
  137. </tr>
  138. <%end paid%>
  139. <tr>
  140. <td colspan="3">&nbsp;</td>
  141. <td colspan="4"><hr noshade></td>
  142. </tr>
  143. <tr>
  144. <td colspan="3">Terms Net <b><%terms%></b> days</td>
  145. <th colspan="2" align="right">Outstanding</th>
  146. <th colspan="2" align="right"><%total%></th>
  147. </tr>
  148. <tr>
  149. <td>&nbsp;</td>
  150. </tr>
  151. </table>
  152. </td>
  153. </tr>
  154. <tr>
  155. <td>
  156. <table width="100%">
  157. <tr valign="top">
  158. <%if notes%>
  159. <td>Notes</td>
  160. <td><%notes%></td>
  161. <%end notes%>
  162. <td align="right">
  163. All prices in <b><%currency%></b> Funds
  164. <br><%shippingpoint%>
  165. </td>
  166. </tr>
  167. </table>
  168. </td>
  169. </tr>
  170. <tr><td>&nbsp;</td></tr>
  171. <tr>
  172. <th colspan="7">
  173. <br>Thank you for your valued business!
  174. </th>
  175. </tr>
  176. <tr><td>&nbsp;</td></tr>
  177. <tr>
  178. <td>
  179. <table width="100%">
  180. <tr valign="top">
  181. <td><font size="-3">
  182. Payment due NET <%terms%> Days from date of Invoice.
  183. Interest on overdue amounts will acrue at the rate of 1.5% per month
  184. from due date until paid in full. Items returned are subject to
  185. a 10% restocking charge. A return authorization must be obtained
  186. from <%company%> before goods are returned. Returns must be shipped
  187. prepaid and properly insured. <%company%> will not be responsible
  188. for damages during transit.
  189. </font>
  190. </td>
  191. <td width="150">
  192. X <hr noshade>
  193. </td>
  194. </tr>
  195. </table>
  196. </td>
  197. </tr>
  198. <%foreach tax%>
  199. <tr>
  200. <th colspan="7" align="left"><font size="-2"><%taxdescription%> Registration <%taxnumber%></font></th>
  201. </tr>
  202. <%end tax%>
  203. <%if taxincluded%>
  204. <tr>
  205. <th colspan="7" align="left"><font size="-2">Taxes shown are included in price.</font></th>
  206. </tr>
  207. <%end taxincluded%>
  208. <!-- business number
  209. <tr>
  210. <th colspan="7" align="left"><font size="-2">Business Number: <%businessnumber%></font></th>
  211. </tr>
  212. -->
  213. <!-- banking information
  214. <tr>
  215. <th colspan="7" align="left">Banking Information:
  216. <br>Bank
  217. <br>Transit No.
  218. <br>Account No.
  219. </td>
  220. </tr>
  221. -->
  222. </table>
  223. </td>
  224. </tr>
  225. </table>
  226. </body>
  227. </html>