summaryrefslogtreecommitdiff
path: root/templates/Default-invoice.html
blob: 3356aed66b827e98350f946b4929b229adc3bb7d (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>I N V O I C E</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><%contact%>
  35. <br>
  36. <%end contact%>
  37. <%if customerphone%>
  38. <br>Tel: <%customerphone%>
  39. <%end customerphone%>
  40. <%if customerfax%>
  41. <br>Fax: <%customerfax%>
  42. <%end customerfax%>
  43. <%if email%>
  44. <br><%email%>
  45. <%end email%>
  46. </td>
  47. <td><%shiptoname%>
  48. <br><%shiptoaddress1%>
  49. <%if shiptoaddress2%>
  50. <br><%shiptoaddress2%>
  51. <%end shiptoaddress2%>
  52. <br><%shiptocity%>
  53. <%if shiptostate%>
  54. , <%shiptostate%>
  55. <%end shiptostate%>
  56. <%shiptozipcode%>
  57. <%if shiptocountry%>
  58. <br><%shiptocountry%>
  59. <%end shiptocountry%>
  60. <br>
  61. <%if shiptocontact%>
  62. <br><%shiptocontact%>
  63. <br>
  64. <%end shiptocontact%>
  65. <%if shiptophone%>
  66. <br>Tel: <%shiptophone%>
  67. <%end shiptophone%>
  68. <%if shiptofax%>
  69. <br>Fax: <%shiptofax%>
  70. <%end shiptofax%>
  71. <%if shiptoemail%>
  72. <br><%shiptoemail%>
  73. <%end shiptoemail%>
  74. </td>
  75. </tr>
  76. </table>
  77. </td>
  78. </tr>
  79. <tr height=5></tr>
  80. <tr>
  81. <td>&nbsp;</td>
  82. <td>
  83. <table width=100% border=1>
  84. <tr>
  85. <th width=14% align=left nowrap>Invoice #</th>
  86. <th width=14% align=left nowrap>Date</th>
  87. <th width=14% align=left nowrap>Due</th>
  88. <th width=14% align=left>Order #</th>
  89. <th width=14% align=left nowrap>Salesperson</th>
  90. <th width=14% align=left nowrap>Shipping Point</th>
  91. <th width=14% align=left nowrap>Ship via</th>
  92. </tr>
  93. <tr>
  94. <td><%invnumber%></td>
  95. <td><%invdate%></td>
  96. <td><%duedate%></td>
  97. <td><%ordnumber%>&nbsp;</td>
  98. <td><%employee%>&nbsp;</td>
  99. <td><%shippingpoint%>&nbsp;</td>
  100. <td><%shipvia%>&nbsp;</td>
  101. </tr>
  102. </table>
  103. </td>
  104. </tr>
  105. <tr>
  106. <td>&nbsp;</td>
  107. <td>
  108. <table width=100%>
  109. <tr bgcolor=000000>
  110. <th align=right><font color=ffffff>Item</th>
  111. <th align=left><font color=ffffff>Number</th>
  112. <th align=left><font color=ffffff>Description</th>
  113. <th>&nbsp;</th>
  114. <th align=right><font color=ffffff>Qt'y</th>
  115. <th>&nbsp;</th>
  116. <th align=right><font color=ffffff>Unit Price</th>
  117. <th align=right><font color=ffffff>Disc %</th>
  118. <th align=right><font color=ffffff>Extended</th>
  119. </tr>
  120. <%foreach number%>
  121. <tr valign=top>
  122. <td align=right><%runningnumber%>.</td>
  123. <td><%number%></td>
  124. <td><%description%></td>
  125. <td><%deliverydate%></td>
  126. <td align=right><%qty%></td>
  127. <td><%unit%></td>
  128. <td align=right><%sellprice%></td>
  129. <td align=right><%discountrate%></td>
  130. <td align=right><%linetotal%></td>
  131. </tr>
  132. <%end number%>
  133. <tr>
  134. <td colspan=9><hr noshade></td>
  135. </tr>
  136. <tr>
  137. <%if taxincluded%>
  138. <th colspan=7 align=right>Total</th>
  139. <td colspan=2 align=right><%invtotal%></td>
  140. <%end taxincluded%>
  141. <%if not taxincluded%>
  142. <th colspan=7 align=right>Subtotal</th>
  143. <td colspan=2 align=right><%subtotal%></td>
  144. <%end taxincluded%>
  145. </tr>
  146. <%foreach tax%>
  147. <tr>
  148. <th colspan=7 align=right><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
  149. <td colspan=2 align=right><%tax%></td>
  150. </tr>
  151. <%end tax%>
  152. <%if paid%>
  153. <tr>
  154. <th colspan=7 align=right>Paid</th>
  155. <td colspan=2 align=right>- <%paid%></td>
  156. </tr>
  157. <%end paid%>
  158. <tr>
  159. <td colspan=5>&nbsp;</td>
  160. <td colspan=4><hr noshade></td>
  161. </tr>
  162. <%if total%>
  163. <tr>
  164. <td colspan=5>&nbsp;</td>
  165. <th colspan=2 align=right nowrap>Balance Due</th>
  166. <th colspan=2 align=right><%total%></th>
  167. </tr>
  168. <%end total%>
  169. <tr>
  170. </table>
  171. </td>
  172. </tr>
  173. <tr>
  174. <td>&nbsp;</td>
  175. <td>
  176. <table width=100%>
  177. <tr valign=top>
  178. <%if notes%>
  179. <td><%notes%></td>
  180. <%end notes%>
  181. <td><%text_amount%> ***** <%decimal%>/100</td>
  182. <td align=right nowrap>
  183. All prices in <b><%currency%></b>
  184. </td>
  185. </tr>
  186. </table>
  187. </td>
  188. </tr>
  189. <%if paid_1%>
  190. <tr>
  191. <td>&nbsp;</td>
  192. <td colspan=9>
  193. <table width=60%>
  194. <tr>
  195. <th align=left>Payments</th>
  196. </tr>
  197. <tr>
  198. <td colspan=4>
  199. <hr noshade>
  200. </td>
  201. </tr>
  202. <tr>
  203. <th align=left>Date</th>
  204. <th align=left>Account</th>
  205. <th align=left>Source</th>
  206. <th align=left>Amount</th>
  207. </tr>
  208. <%end paid_1%>
  209. <%foreach payment%>
  210. <tr>
  211. <td><%paymentdate%></td>
  212. <td><%paymentaccount%></td>
  213. <td><%paymentsource%></td>
  214. <td><%payment%></td>
  215. </tr>
  216. <%end payment%>
  217. <%if paid_1%>
  218. </table>
  219. </td>
  220. </tr>
  221. <%end paid_1%>
  222. <tr height=10></tr>
  223. <tr>
  224. <td>&nbsp;</td>
  225. <th>
  226. Thank you for your valued business!
  227. </th>
  228. </tr>
  229. <tr>
  230. <td>&nbsp;</td>
  231. <td>
  232. <table width=100%>
  233. <tr valign=top>
  234. <td width=60%><font size=-3>
  235. Payment due by <%duedate%>.
  236. Items returned are subject to a 10% restocking charge. A return authorization must be obtained from <%company%> before goods are returned. Returns must be shipped prepaid and properly insured. <%company%> will not be responsible for damages during transit.
  237. </font>
  238. </td>
  239. <td width=40%>
  240. X <hr noshade>
  241. </td>
  242. </tr>
  243. </table>
  244. </td>
  245. </tr>
  246. <%foreach tax%>
  247. <tr>
  248. <td>&nbsp;</td>
  249. <th colspan=9 align=left><font size=-2><%taxdescription%> Registration <%taxnumber%></th>
  250. </tr>
  251. <%end tax%>
  252. <%if taxincluded%>
  253. <tr>
  254. <td>&nbsp;</td>
  255. </tr>
  256. <tr>
  257. <th colspan=8 align=left><font size=-2>Taxes shown are included in price.</th>
  258. </tr>
  259. <%end taxincluded%>
  260. </table>
  261. </body>
  262. </html>