summaryrefslogtreecommitdiff
path: root/templates/demo/invoice.html
blob: 90b43c88e2b7673cc0e1325c38142418709bb5ef (plain)
  1. <body bgcolor=ffffff>
  2. <table width="100%">
  3. <?lsmb 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><?lsmb name ?>
  20. <br><?lsmb address1 ?>
  21. <?lsmb if address2 ?>
  22. <br><?lsmb address2 ?>
  23. <?lsmb end address2 ?>
  24. <br><?lsmb city ?>
  25. <?lsmb if state ?>
  26. , <?lsmb state ?>
  27. <?lsmb end state ?>
  28. <?lsmb zipcode ?>
  29. <?lsmb if country ?>
  30. <br><?lsmb country ?>
  31. <?lsmb end country ?>
  32. <br>
  33. <?lsmb if contact ?>
  34. <br><?lsmb contact ?>
  35. <br>
  36. <?lsmb end contact ?>
  37. <?lsmb if customerphone ?>
  38. <br>Tel: <?lsmb customerphone ?>
  39. <?lsmb end customerphone ?>
  40. <?lsmb if customerfax ?>
  41. <br>Fax: <?lsmb customerfax ?>
  42. <?lsmb end customerfax ?>
  43. <?lsmb if email ?>
  44. <br><?lsmb email ?>
  45. <?lsmb end email ?>
  46. </td>
  47. <td><?lsmb shiptoname ?>
  48. <br><?lsmb shiptoaddress1 ?>
  49. <?lsmb if shiptoaddress2 ?>
  50. <br><?lsmb shiptoaddress2 ?>
  51. <?lsmb end shiptoaddress2 ?>
  52. <br><?lsmb shiptocity ?>
  53. <?lsmb if shiptostate ?>
  54. , <?lsmb shiptostate ?>
  55. <?lsmb end shiptostate ?>
  56. <?lsmb shiptozipcode ?>
  57. <?lsmb if shiptocountry ?>
  58. <br><?lsmb shiptocountry ?>
  59. <?lsmb end shiptocountry ?>
  60. <br>
  61. <?lsmb if shiptocontact ?>
  62. <br><?lsmb shiptocontact ?>
  63. <br>
  64. <?lsmb end shiptocontact ?>
  65. <?lsmb if shiptophone ?>
  66. <br>Tel: <?lsmb shiptophone ?>
  67. <?lsmb end shiptophone ?>
  68. <?lsmb if shiptofax ?>
  69. <br>Fax: <?lsmb shiptofax ?>
  70. <?lsmb end shiptofax ?>
  71. <?lsmb if shiptoemail ?>
  72. <br><?lsmb shiptoemail ?>
  73. <?lsmb 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><?lsmb invnumber ?></td>
  95. <td><?lsmb invdate ?></td>
  96. <td><?lsmb duedate ?></td>
  97. <td><?lsmb ordnumber ?>&nbsp;</td>
  98. <td><?lsmb employee ?>&nbsp;</td>
  99. <td><?lsmb shippingpoint ?>&nbsp;</td>
  100. <td><?lsmb 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. <?lsmb foreach number ?>
  121. <tr valign=top>
  122. <td align=right><?lsmb runningnumber ?>.</td>
  123. <td><?lsmb number ?></td>
  124. <td><?lsmb description ?></td>
  125. <td><?lsmb deliverydate ?></td>
  126. <td align=right><?lsmb qty ?></td>
  127. <td><?lsmb unit ?></td>
  128. <td align=right><?lsmb sellprice ?></td>
  129. <td align=right><?lsmb discountrate ?></td>
  130. <td align=right><?lsmb linetotal ?></td>
  131. </tr>
  132. <?lsmb end number ?>
  133. <tr>
  134. <td colspan=9><hr noshade></td>
  135. </tr>
  136. <tr>
  137. <?lsmb if taxincluded ?>
  138. <th colspan=7 align=right>Total</th>
  139. <td colspan=2 align=right><?lsmb invtotal ?></td>
  140. <?lsmb end taxincluded ?>
  141. <?lsmb if not taxincluded ?>
  142. <th colspan=7 align=right>Subtotal</th>
  143. <td colspan=2 align=right><?lsmb subtotal ?></td>
  144. <?lsmb end taxincluded ?>
  145. </tr>
  146. <?lsmb foreach tax ?>
  147. <tr>
  148. <th colspan=7 align=right><?lsmb taxdescription ?> on <?lsmb taxbase ?> @ <?lsmb taxrate ?> %</th>
  149. <td colspan=2 align=right><?lsmb tax ?></td>
  150. </tr>
  151. <?lsmb end tax ?>
  152. <?lsmb if paid ?>
  153. <tr>
  154. <th colspan=7 align=right>Paid</th>
  155. <td colspan=2 align=right>- <?lsmb paid ?></td>
  156. </tr>
  157. <?lsmb end paid ?>
  158. <tr>
  159. <td colspan=5>&nbsp;</td>
  160. <td colspan=4><hr noshade></td>
  161. </tr>
  162. <?lsmb 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><?lsmb total ?></th>
  167. </tr>
  168. <?lsmb 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. <?lsmb if notes ?>
  179. <td><?lsmb notes ?></td>
  180. <?lsmb end notes ?>
  181. <td><?lsmb text_amount ?> ***** <?lsmb decimal ?>/100</td>
  182. <td align=right nowrap>
  183. All prices in <b><?lsmb currency ?></b>
  184. </td>
  185. </tr>
  186. </table>
  187. </td>
  188. </tr>
  189. <?lsmb 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. <?lsmb end paid_1 ?>
  209. <?lsmb foreach payment ?>
  210. <tr>
  211. <td><?lsmb paymentdate ?></td>
  212. <td><?lsmb paymentaccount ?></td>
  213. <td><?lsmb paymentsource ?></td>
  214. <td><?lsmb payment ?></td>
  215. </tr>
  216. <?lsmb end payment ?>
  217. <?lsmb if paid_1 ?>
  218. </table>
  219. </td>
  220. </tr>
  221. <?lsmb 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 <?lsmb duedate ?>.
  236. Items returned are subject to a 10% restocking charge. A return authorization must be obtained from <?lsmb company ?> before goods are returned. Returns must be shipped prepaid and properly insured. <?lsmb 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. <?lsmb foreach tax ?>
  247. <tr>
  248. <td>&nbsp;</td>
  249. <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></th>
  250. </tr>
  251. <?lsmb end tax ?>
  252. <?lsmb 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. <?lsmb end taxincluded ?>
  260. </table>
  261. </body>
  262. </html>