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