summaryrefslogtreecommitdiff
path: root/templates/spiff/ar_transaction.html
blob: f243bf1a3ca495864574c4734ac56229f0a39013 (plain)
  1. <body bgcolor=ffffff>
  2. <table width="100%">
  3. <tr>
  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. <th><img src=http://www.ledger-smb.org/images/ledger-smb.png border=0 width=80 height=58></th>
  15. <td align=right>
  16. <h4>
  17. Tel: <?lsmb tel ?>
  18. <br>Fax: <?lsmb fax ?>
  19. </h4>
  20. </td>
  21. </tr>
  22. <tr>
  23. <th colspan=3>
  24. <hr noshade><br>
  25. <h4>A R - T R A N S A C T I O N</h4>
  26. </th>
  27. </tr>
  28. </table>
  29. </td>
  30. </tr>
  31. <tr>
  32. <td>&nbsp;</td>
  33. <td>
  34. <table width="100%" callspacing=0 cellpadding=0>
  35. <tr valign=top>
  36. <td><?lsmb name ?>
  37. <br><?lsmb address1 ?>
  38. <?lsmb if address2 ?>
  39. <br><?lsmb address2 ?>
  40. <?lsmb end address2 ?>
  41. <br><?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
  42. <?lsmb if country ?>
  43. <br><?lsmb country ?>
  44. <?lsmb end country ?>
  45. <br>
  46. <?lsmb if contact ?>
  47. <br><?lsmb contact ?>
  48. <br>
  49. <?lsmb end contact ?>
  50. <?lsmb if customerphone ?>
  51. <br>Tel: <?lsmb customerphone ?>
  52. <?lsmb end customerphone ?>
  53. <?lsmb if customerfax ?>
  54. <br>Fax: <?lsmb customerfax ?>
  55. <?lsmb end customerfax ?>
  56. <?lsmb if email ?>
  57. <br><?lsmb email ?>
  58. <?lsmb end email ?>
  59. </td>
  60. <td align=right>
  61. <table>
  62. <tr>
  63. <th align=left nowrap>Invoice #</th>
  64. <td><?lsmb invnumber ?></td>
  65. </tr>
  66. <tr>
  67. <th align=left nowrap>Date</th>
  68. <td><?lsmb invdate ?></td>
  69. </tr>
  70. <tr>
  71. <th align=left nowrap>Due</th>
  72. <td><?lsmb duedate ?></td>
  73. </tr>
  74. <tr>
  75. <th align=left>Order #</th>
  76. <td><?lsmb ordnumber ?>&nbsp;</td>
  77. </tr>
  78. <tr>
  79. <th align=left nowrap>Salesperson</th>
  80. <td><?lsmb employee ?>&nbsp;</td>
  81. </tr>
  82. </table>
  83. </td>
  84. </tr>
  85. </table>
  86. </td>
  87. </tr>
  88. <tr height=5></tr>
  89. <tr>
  90. <td>&nbsp;</td>
  91. <td>
  92. <table width="100%">
  93. <tr valign=top>
  94. <td width="50%">
  95. <table>
  96. <?lsmb foreach account ?>
  97. <tr valign=top>
  98. <td><?lsmb accno ?></td>
  99. <td><?lsmb account ?></td>
  100. <td align=right><?lsmb amount ?></td>
  101. <td><?lsmb projectnumber ?></td>
  102. </tr>
  103. <?lsmb end account ?>
  104. <tr>
  105. <?lsmb if taxincluded ?>
  106. <th colspan=2 align=right>Total</th>
  107. <td align=right><?lsmb invtotal ?></td>
  108. <?lsmb end taxincluded ?>
  109. <?lsmb if not taxincluded ?>
  110. <th colspan=2 align=right>Subtotal</th>
  111. <td align=right><?lsmb subtotal ?></td>
  112. <?lsmb end taxincluded ?>
  113. </tr>
  114. <?lsmb foreach tax ?>
  115. <tr>
  116. <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th>
  117. <td align=right><?lsmb tax ?></td>
  118. </tr>
  119. <?lsmb end tax ?>
  120. <?lsmb if not taxincluded ?>
  121. <th colspan=2 align=right>Total</th>
  122. <td align=right><?lsmb invtotal ?></td>
  123. <?lsmb end taxincluded ?>
  124. </table>
  125. </td>
  126. <td width="50%">
  127. <?lsmb notes ?>
  128. </td>
  129. </tr>
  130. </table>
  131. </td>
  132. <tr>
  133. <td>&nbsp;</td>
  134. </tr>
  135. <tr>
  136. <td>&nbsp;</td>
  137. <td>
  138. <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?>
  139. </td>
  140. </tr>
  141. <?lsmb if paid ?>
  142. <tr>
  143. <td>&nbsp;</td>
  144. <td>
  145. <table>
  146. <tr>
  147. <th>Payments</th>
  148. </tr>
  149. <tr>
  150. <td>
  151. <hr noshade>
  152. </td>
  153. </tr>
  154. <tr>
  155. <td>
  156. <table>
  157. <tr>
  158. <th align=left>Date</th>
  159. <th align=left>Account</th>
  160. <th align=left>Source</th>
  161. <th align=left>Memo</th>
  162. <th align=left>Amount</th>
  163. </tr>
  164. <?lsmb end paid ?>
  165. <?lsmb foreach payment ?>
  166. <tr>
  167. <td><?lsmb paymentdate ?></td>
  168. <td><?lsmb paymentaccount ?></td>
  169. <td><?lsmb paymentsource ?></td>
  170. <td><?lsmb paymentmemo ?></td>
  171. <td><?lsmb payment ?></td>
  172. </tr>
  173. <?lsmb end payment ?>
  174. <?lsmb if paid ?>
  175. </table>
  176. </td>
  177. </tr>
  178. </table>
  179. </td>
  180. </tr>
  181. <?lsmb end paid ?>
  182. <tr height=10></tr>
  183. <?lsmb foreach tax ?>
  184. <tr>
  185. <td>&nbsp;</td>
  186. <th colspan=9 align=left><font size=-2><?lsmb taxdescription ?> Registration <?lsmb taxnumber ?></th>
  187. </tr>
  188. <?lsmb end tax ?>
  189. <?lsmb if taxincluded ?>
  190. <tr>
  191. <td>&nbsp;</td>
  192. </tr>
  193. <tr>
  194. <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
  195. </tr>
  196. <?lsmb end taxincluded ?>
  197. </table>
  198. </body>
  199. </html>