summaryrefslogtreecommitdiff
path: root/templates/spiff-en/invoice.html.diff
blob: 82686b652ec214f294455dfd98e325e47a546ba8 (plain)
  1. --- invoice.html.orig 2002-06-04 19:19:43.000000000 +0200
  2. +++ invoice.html 2002-07-09 13:23:45.000000000 +0200
  3. @@ -1,56 +1,58 @@
  4.  <body bgcolor="white">
  5. -
  6. <table width="100%">
  7. <tr valign="bottom">
  8. <td width="10">&nbsp;</td>
  9. <td>
  10. +<table width="100%" cellspacing="0" cellpadding="0">
  11. +<tr>
  12. +<td>
  13. <table width="100%">
  14. <tr>
  15. + <%if shiptoname%>
  16. +<td colspan="2">
  17. + <%end shiptoname%>
  18. + <%if not shiptoname%>
  19. <td>
  20. - <h4>
  21. - <%company%>
  22. - <br><%address%>
  23. - </h4>
  24. - </td>
  25. -
  26. - <td align="right">
  27. - <h4>
  28. - Tel: <%tel%>
  29. - <br>Fax: <%fax%>
  30. - </h4>
  31. + <%end shiptoname%>
  32. </td>
  33. +<td align="right" rowspan="3">
  34. +<table>
  35. +<tr valign="bottom">
  36. +<th align="left" colspan="3">
  37. +<h2>INVOICE</h2>
  38. +</th>
  39. </tr>
  40. <tr>
  41. - <th colspan="3">
  42. - <h4>I N V O I C E</h4>
  43. - </th>
  44. +<th align="right">Invoice Number:</th>
  45. +<td>&nbsp;</td>
  46. +<td><%invnumber%></td>
  47. </tr>
  48. - </table>
  49. -
  50. -
  51. - <table width="100%" cellspacing="0" cellpadding="0">
  52. -
  53. - <tr>
  54. - <td align="right">
  55. - <table>
  56. +<%if businessnumber%>
  57. <tr>
  58. - <th align="right">Invoice Date</th><td width="10">&nbsp;</td><td><%invdate%></td>
  59. +<th align="right">Business Numberr:</th>
  60. +<td>&nbsp;</td>
  61. +<td><%businessnumber%></td>
  62. </tr>
  63. +<%end businessnumber%>
  64. <tr>
  65. - <th align="right">Due Date</th><td width="10">&nbsp;</td><td><%duedate%></td>
  66. +<th align="right">Invoice Date:</th>
  67. +<td width="10">&nbsp;</td>
  68. +<td><%invdate%></td>
  69. </tr>
  70. <tr>
  71. - <th align="right">Number</th><td>&nbsp;</td><td><%invnumber%></td>
  72. +<th align="right">Due Date:</th>
  73. +<td width="10">&nbsp;</td>
  74. +<td><%duedate%></td>
  75. </tr>
  76. <!--
  77. <tr>
  78. - <th align="right">Clerk:</th><td>&nbsp;</td><td><%username%></td>
  79. +<th align="left">Clerk:</th><td>&nbsp;</td><td><%username%></td>
  80. </tr>
  81. -->
  82. @@ -61,33 +63,30 @@
  83. </td>
  84. </tr>
  85. - <tr>
  86. - <td>
  87. - <table width="100%">
  88. - <tr bgcolor="black">
  89. - <th align="left"><font color="white">Bill To:</font></th>
  90. - <th align="left"><font color="white">Ship To:</font></th>
  91. +<tr valign="bottom">
  92. +<th align="left">Bill To:</th>
  93. + <%if shiptoname%>
  94. +<th align="left">Ship To:</th>
  95. + <%end shiptoname%>
  96. </tr>
  97. <!--
  98. - other variables which can be use:
  99. - contact, shiptocontact, shiptophone, shiptofax
  100. +other possible variables: contact, shiptocontact, shiptophone, shiptofax
  101. -->
  102. - <tr>
  103. - <td><%name%>
  104. - <br><%addr1%>
  105. - <br><%addr2%>
  106. - <br><%addr3%>
  107. - <br><%addr4%>
  108. - </td>
  109. -
  110. - <td><%shiptoname%>
  111. - <br><%shiptoaddr1%>
  112. - <br><%shiptoaddr2%>
  113. - <br><%shiptoaddr3%>
  114. - <br><%shiptoaddr4%>
  115. - </td>
  116. +<tr valign="top">
  117. +<td><b><%name%></b><br>
  118. +<%addr1%><br>
  119. +<%addr2%><br>
  120. +<%addr3%><br>
  121. +<%addr4%></td>
  122. + <%if shiptoname%>
  123. +<td><b><%shiptoname%></b><br>
  124. +<%shiptoaddr1%><br>
  125. +<%shiptoaddr2%><br>
  126. +<%shiptoaddr3%><br>
  127. +<%shiptoaddr4%></td>
  128. + <%end shiptoname%>
  129. </tr>
  130. </table>
  131. </td>
  132. @@ -100,20 +99,20 @@
  133. <tr>
  134. <td>
  135. <table width="100%">
  136. - <tr bgcolor="black">
  137. -<!-- <th align="right"><font color="white">No.</font></th> -->
  138. - <th align="left"><font color="white">Number</font></th>
  139. - <th align="left"><font color="white">Description</font></th>
  140. - <th><font color="white">Qt'y</font></th>
  141. - <th>&nbsp;</th>
  142. - <th><font color="white">Price</font></th>
  143. - <th><font color="white">Disc</font></th>
  144. - <th><font color="white">Amount</font></th>
  145. +<tr>
  146. +<!-- <th align=right>No.</th> -->
  147. +<th align="left">Number</th>
  148. +<th align="left">Description</th>
  149. +<th colspan="2">Q'ty</th>
  150. +<th>Price</th>
  151. +<th>Disc</th>
  152. +<th>Amount</th>
  153. </tr>
  154. <%foreach number%>
  155. <tr valign="top">
  156. -<!-- <td align="right"><%runningnumber%>.</td>
  157. +<!--
  158. +<td align=right><%runningnumber%>.</td>
  159. adjust the colspan if you include this to shift subtotal one to the right
  160. -->
  161. <td><%number%></td>
  162. @@ -131,51 +130,59 @@
  163. don't want to show the discount
  164. netprice = sellprice - discount
  165. -->
  166. -
  167. <tr>
  168. - <td colspan="7"><hr noshade></td>
  169. +<td colspan="7">
  170. +<hr noshade>
  171. +</td>
  172. </tr>
  173. <tr>
  174. <%if taxincluded%>
  175. - <th colspan="5" align="right">Total</th>
  176. +<th colspan="5" align="right">Total:</th>
  177. <td colspan="2" align="right"><%invtotal%></td>
  178. <%end taxincluded%>
  179. <%if not taxincluded%>
  180. - <th colspan="5" align="right">Subtotal</th>
  181. +<th colspan="5" align="right">Subtotal:</th>
  182. <td colspan="2" align="right"><%subtotal%></td>
  183. -<%end taxincluded%>
  184. - </tr>
  185. +<%end taxincluded%></tr>
  186. <%foreach tax%>
  187. <tr>
  188. - <th colspan="5" align="right"><%taxdescription%> on <%taxbase%> @ <%taxrate%> %</th>
  189. +<th colspan="5" align="right"><%taxdescription%> (<%taxrate%>%) of
  190. +<%taxbase%>:</th>
  191. <td colspan="2" align="right"><%tax%></td>
  192. </tr>
  193. <%end tax%>
  194. -
  195. <%if paid%>
  196. <tr>
  197. - <th colspan="5" align="right">Paid</th>
  198. +<th colspan="5" align="right">Paid:</th>
  199. <td colspan="2" align="right">- <%paid%></td>
  200. </tr>
  201. <%end paid%>
  202. <tr>
  203. - <td colspan="3">&nbsp;</td>
  204. - <td colspan="4"><hr noshade></td>
  205. +<td colspan="5">&nbsp;</td>
  206. +<td colspan="2">
  207. +<hr noshade>
  208. +</td>
  209. </tr>
  210. <tr>
  211. <td colspan="3">Terms Net <b><%terms%></b> days</td>
  212. - <th colspan="2" align="right">Outstanding</th>
  213. +<th colspan="2" align="right">Outstanding:</th>
  214. <th colspan="2" align="right"><%total%></th>
  215. </tr>
  216. <tr>
  217. - <td>&nbsp;</td>
  218. +<td colspan="5">&nbsp;</td>
  219. +<td colspan="2">
  220. +<hr noshade>
  221. +</td>
  222. </tr>
  223. +<tr>
  224. +<td>&nbsp;</td>
  225. +</tr>
  226. </table>
  227. </td>
  228. </tr>
  229. @@ -185,84 +192,91 @@
  230. <table width="100%">
  231. <tr valign="top">
  232. <%if notes%>
  233. - <td>Notes</td>
  234. +<td>Notes:</td>
  235. <td><%notes%></td>
  236. <%end notes%>
  237. - <td align="right">
  238. - All prices in <b><%currency%></b> Funds
  239. - <br><%shippingpoint%>
  240. +<td>
  241. +<table width="100%">
  242. + <%if taxincluded%>
  243. +<tr valign="top">
  244. +<td align="right">Taxes shown are <strong>included</strong> in price.</td>
  245. +</tr>
  246. + <%end taxincluded%>
  247. +<!-- tax codes
  248. + <%foreach tax%>
  249. +<tr valign="top">
  250. +<td align="right"><%taxdescription%> Registration <%taxnumber%></td>
  251. +</tr>
  252. + <%end tax%>
  253. +-->
  254. +<tr valign="top">
  255. </td>
  256. +<td align="right">All prices in <strong><%currency%></strong> Funds<br>
  257. +<%shippingpoint%></td>
  258. +</tr>
  259. +</table>
  260. </tr>
  261. -
  262. </table>
  263. </td>
  264. </tr>
  265. -<tr><td>&nbsp;</td></tr>
  266. +<tr>
  267. +<td>&nbsp;</td>
  268. +</tr>
  269. <tr>
  270. - <th colspan="7">
  271. - <br>Thank you for your valued business!
  272. - </th>
  273. +<td>
  274. +<p>
  275. +<b>Thank you for your valued business!</b>
  276. +<p>
  277. +<%company%><br>
  278. +<%address%><br>
  279. +<%if tel%>
  280. +Tel: <%tel%><br>
  281. +<%end tel%>
  282. + <%if fax%>
  283. +Fax: <%fax%><br>
  284. + <%end fax%>
  285. +<p align="center">
  286. +<strong>Payments within Denmark</strong><br>
  287. +Please transfer directly to Merkur Andelskasse, bank account 8401-1028192<br>
  288. +<strong>International payments</strong><br>
  289. +Please transfer directly to Ringkjøbing Bank, Torvet 2, 6959 Ringkøbing<br>
  290. +SWIFT code: RIBADK22, account: 076600784011<br>
  291. +Add "To Spiff ApS (8401-1028192) from <%name%>" as text.
  292. +</td>
  293. </tr>
  294. -<tr><td>&nbsp;</td></tr>
  295. +<tr>
  296. +<td colspan="7">
  297. +<hr noshade>
  298. +</td>
  299. +</tr>
  300. <tr>
  301. <td>
  302. <table width="100%">
  303. <tr valign="top">
  304. - <td><font size="-3">
  305. - Payment due NET <%terms%> Days from date of Invoice.
  306. +<td><font size="-3">Payment due NET <%terms%> Days from date of Invoice.
  307. Interest on overdue amounts will acrue at the rate of 1.5% per month
  308. from due date until paid in full. Items returned are subject to
  309. a 10% restocking charge. A return authorization must be obtained
  310. from <%company%> before goods are returned. Returns must be shipped
  311. prepaid and properly insured. <%company%> will not be responsible
  312. - for damages during transit.
  313. - </font>
  314. - </td>
  315. - <td width="150">
  316. +for damages during transit.</font></td>
  317. +<!-- Signature
  318. +<td width=150>
  319. X <hr noshade>
  320. </td>
  321. +-->
  322. </tr>
  323. </table>
  324. </td>
  325. </tr>
  326. -<%foreach tax%>
  327. - <tr>
  328. - <th colspan="7" align="left"><font size="-2"><%taxdescription%> Registration <%taxnumber%></font></th>
  329. - </tr>
  330. -<%end tax%>
  331. -
  332. -<%if taxincluded%>
  333. - <tr>
  334. - <th colspan="7" align="left"><font size="-2">Taxes shown are included in price.</font></th>
  335. - </tr>
  336. -<%end taxincluded%>
  337. -
  338. -<!-- business number
  339. - <tr>
  340. - <th colspan="7" align="left"><font size="-2">Business Number: <%businessnumber%></font></th>
  341. - </tr>
  342. --->
  343. -
  344. -<!-- banking information
  345. - <tr>
  346. - <th colspan="7" align="left">Banking Information:
  347. - <br>Bank
  348. - <br>Transit No.
  349. - <br>Account No.
  350. - </td>
  351. - </tr>
  352. --->
  353. -
  354. </table>
  355. -
  356. </td>
  357. </tr>
  358. </table>
  359. -
  360. </body>
  361. </html>