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