summaryrefslogtreecommitdiff
path: root/templates/demo/ap_transaction.html
blob: 2ab4d5e5d60c8cc1160ab35224a68b5d65ba3e41 (plain)
  1. <body bgcolor=ffffff>
  2. <table width=100%>
  3. <%include letterhead.html%>
  4. <tr>
  5. <td width=10>&nbsp;</td>
  6. <th colspan=3>
  7. <h4>A P - 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><%name%>
  16. <br><%address1%>
  17. <%if address2%>
  18. <br><%address2%>
  19. <%end address2%>
  20. <br><%city%>
  21. <%if state%>
  22. , <%state%>
  23. <%end state%>
  24. <%zipcode%>
  25. <%if country%>
  26. <br><%country%>
  27. <%end country%>
  28. <br>
  29. <%if contact%>
  30. <br><%contact%>
  31. <br>
  32. <%end contact%>
  33. <%if vendorphone%>
  34. <br>Tel: <%vendorphone%>
  35. <%end vendorphone%>
  36. <%if vendorfax%>
  37. <br>Fax: <%vendorfax%>
  38. <%end vendorfax%>
  39. <%if email%>
  40. <br><%email%>
  41. <%end email%>
  42. <%if vendortaxnumber%>
  43. <p>Taxnumber: <%vendortaxnumber%>
  44. <%end vendortaxnumber%>
  45. </td>
  46. <td align=right>
  47. <table>
  48. <tr>
  49. <th align=left nowrap>Invoice #</th>
  50. <td><%invnumber%></td>
  51. </tr>
  52. <tr>
  53. <th align=left nowrap>Date</th>
  54. <td><%invdate%></td>
  55. </tr>
  56. <tr>
  57. <th align=left nowrap>Due</th>
  58. <td><%duedate%></td>
  59. </tr>
  60. <%if ponumber%>
  61. <tr>
  62. <th align=left>PO #</th>
  63. <td><%ponumber%>&nbsp;</td>
  64. </tr>
  65. <%end ponumber%>
  66. <%if ordnumber%>
  67. <tr>
  68. <th align=left>Order #</th>
  69. <td><%ordnumber%>&nbsp;</td>
  70. </tr>
  71. <%end ordnumber%>
  72. <tr>
  73. <th align=left nowrap>Employee</th>
  74. <td><%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. <%foreach account%>
  88. <tr valign=top>
  89. <td><%accno%></td>
  90. <td><%account%></td>
  91. <td width=10> </td>
  92. <td align=right><%amount%></td>
  93. <td width=10> </td>
  94. <td><%description%></td>
  95. <td width=10> </td>
  96. <td><%projectnumber%></td>
  97. </tr>
  98. <%end account%>
  99. <tr>
  100. <%if taxincluded%>
  101. <th colspan=2 align=right>Total</th>
  102. <td width=10> </td>
  103. <td align=right><%invtotal%></td>
  104. <%end taxincluded%>
  105. <%if not taxincluded%>
  106. <th colspan=2 align=right>Subtotal</th>
  107. <td width=10> </td>
  108. <td align=right><%subtotal%></td>
  109. <%end taxincluded%>
  110. </tr>
  111. <%foreach tax%>
  112. <tr>
  113. <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
  114. <td width=10> </td>
  115. <td align=right><%tax%></td>
  116. </tr>
  117. <%end tax%>
  118. <%if not taxincluded%>
  119. <tr>
  120. <th colspan=2 align=right>Total</th>
  121. <td width=10> </td>
  122. <td align=right><%invtotal%></td>
  123. </tr>
  124. <%end taxincluded%>
  125. </table>
  126. </td>
  127. </tr>
  128. <tr>
  129. <td>&nbsp;</td>
  130. <td>
  131. <%text_amount%> ***** <%decimal%>/100 <%currency%>
  132. </td>
  133. </tr>
  134. <tr>
  135. <td>&nbsp;</td>
  136. <td>
  137. <%notes%>
  138. </td>
  139. </tr>
  140. <%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>Memo</th>
  161. <th>Amount</th>
  162. </tr>
  163. <%end paid_1%>
  164. <%foreach payment%>
  165. <tr>
  166. <td><%paymentdate%></td>
  167. <td><%paymentaccount%></td>
  168. <td><%paymentsource%></td>
  169. <td><%paymentmemo%></td>
  170. <td align=right><%payment%></td>
  171. </tr>
  172. <%end payment%>
  173. <%if paid_1%>
  174. </table>
  175. </td>
  176. </tr>
  177. </table>
  178. </td>
  179. </tr>
  180. <%end paid_1%>
  181. <tr height=10></tr>
  182. <%if taxincluded%>
  183. <tr>
  184. <td>&nbsp;</td>
  185. </tr>
  186. <tr>
  187. <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
  188. </tr>
  189. <%end taxincluded%>
  190. </table>
  191. </body>
  192. </html>