summaryrefslogtreecommitdiff
path: root/templates/spiff-en/invoice.html.orig.html
blob: d3cd3a186233099188acb5487fb9bf01554298a3 (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. <?lsmb company ?>
  11. <br><?lsmb address ?>
  12. </h4>
  13. </td>
  14. <td align="right">
  15. <h4>
  16. Tel: <?lsmb tel ?>
  17. <br>Fax: <?lsmb 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><?lsmb invdate ?></td>
  33. </tr>
  34. <tr>
  35. <th align="right">Due Date</th><td width="10">&nbsp;</td><td><?lsmb duedate ?></td>
  36. </tr>
  37. <tr>
  38. <th align="right">Number</th><td>&nbsp;</td><td><?lsmb invnumber ?></td>
  39. </tr>
  40. <!--
  41. <tr>
  42. <th align="right">Clerk:</th><td>&nbsp;</td><td><?lsmb 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><?lsmb name ?>
  64. <br><?lsmb addr1 ?>
  65. <br><?lsmb addr2 ?>
  66. <br><?lsmb addr3 ?>
  67. <br><?lsmb addr4 ?>
  68. </td>
  69. <td><?lsmb shiptoname ?>
  70. <br><?lsmb shiptoaddr1 ?>
  71. <br><?lsmb shiptoaddr2 ?>
  72. <br><?lsmb shiptoaddr3 ?>
  73. <br><?lsmb 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. <?lsmb foreach number ?>
  96. <tr valign="top">
  97. <!-- <td align="right"><?lsmb runningnumber ?>.</td>
  98. adjust the colspan if you include this to shift subtotal one to the right
  99. -->
  100. <td><?lsmb number ?></td>
  101. <td><?lsmb description ?></td>
  102. <td align="right"><?lsmb qty ?></td>
  103. <td><?lsmb unit ?></td>
  104. <td align="right"><?lsmb sellprice ?></td>
  105. <td align="right"><?lsmb discount ?></td>
  106. <td align="right"><?lsmb linetotal ?></td>
  107. </tr>
  108. <?lsmb 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. <?lsmb if taxincluded ?>
  119. <th colspan="5" align="right">Total</th>
  120. <td colspan="2" align="right"><?lsmb invtotal ?></td>
  121. <?lsmb end taxincluded ?>
  122. <?lsmb if not taxincluded ?>
  123. <th colspan="5" align="right">Subtotal</th>
  124. <td colspan="2" align="right"><?lsmb subtotal ?></td>
  125. <?lsmb end taxincluded ?>
  126. </tr>
  127. <?lsmb foreach tax ?>
  128. <tr>
  129. <th colspan="5" align="right"><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
  130. <td colspan="2" align="right"><?lsmb tax ?></td>
  131. </tr>
  132. <?lsmb end tax ?>
  133. <?lsmb if paid ?>
  134. <tr>
  135. <th colspan="5" align="right">Paid</th>
  136. <td colspan="2" align="right">- <?lsmb paid ?></td>
  137. </tr>
  138. <?lsmb 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><?lsmb terms ?></b> days</td>
  145. <th colspan="2" align="right">Outstanding</th>
  146. <th colspan="2" align="right"><?lsmb 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. <?lsmb if notes ?>
  159. <td>Notes</td>
  160. <td><?lsmb notes ?></td>
  161. <?lsmb end notes ?>
  162. <td align="right">
  163. All prices in <b><?lsmb currency ?></b> Funds
  164. <br><?lsmb 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 <?lsmb 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 <?lsmb company ?> before goods are returned. Returns must be shipped
  187. prepaid and properly insured. <?lsmb 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. <?lsmb foreach tax ?>
  199. <tr>
  200. <th colspan="7" align="left"><font size="-2"><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></font></th>
  201. </tr>
  202. <?lsmb end tax ?>
  203. <?lsmb if taxincluded ?>
  204. <tr>
  205. <th colspan="7" align="left"><font size="-2">Taxes shown are included in price.</font></th>
  206. </tr>
  207. <?lsmb end taxincluded ?>
  208. <!-- business number
  209. <tr>
  210. <th colspan="7" align="left"><font size="-2">Business Number: <?lsmb 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>