summaryrefslogtreecommitdiff
path: root/templates/Service-ap_transaction.html
blob: b916cc6522d7b606044745a2df1e179da0d38b42 (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. <%company%><br>
  11. <%address%>
  12. </h4>
  13. </td>
  14. <th><img src=sql-ledger.png border=0 width=84 height=58></th>
  15. <td align=right>
  16. <h4>
  17. Tel: <%tel%><br>
  18. Fax: <%fax%>
  19. </h4>
  20. </td>
  21. </tr>
  22. <tr>
  23. <th colspan=3>
  24. <hr noshade><br>
  25. <h4>A P - 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><%name%>
  37. <br><%address1%>
  38. <%if address2%>
  39. <br><%address2%>
  40. <%end address2%>
  41. <br><%city%>
  42. <%if state%>
  43. , <%state%>
  44. <%end state%>
  45. <%zipcode%>
  46. <%if country%>
  47. <br><%country%>
  48. <%end country%>
  49. <br>
  50. <%if contact%>
  51. <br><%contact%>
  52. <br>
  53. <%end contact%>
  54. <%if vendorphone%>
  55. <br>Tel: <%vendorphone%>
  56. <%end vendorphone%>
  57. <%if vendorfax%>
  58. <br>Fax: <%vendorfax%>
  59. <%end vendorfax%>
  60. <%if email%>
  61. <br><%email%>
  62. <%end email%>
  63. <%if vendortaxnumber%>
  64. <p>Taxnumber: <%vendortaxnumber%>
  65. <%end vendortaxnumber%>
  66. </td>
  67. <td align=right>
  68. <table>
  69. <tr>
  70. <th align=left nowrap>Invoice #</th>
  71. <td><%invnumber%></td>
  72. </tr>
  73. <tr>
  74. <th align=left nowrap>Date</th>
  75. <td><%invdate%></td>
  76. </tr>
  77. <tr>
  78. <th align=left nowrap>Due</th>
  79. <td><%duedate%></td>
  80. </tr>
  81. <%if ponumber%>
  82. <tr>
  83. <th align=left>PO #</th>
  84. <td><%ponumber%>&nbsp;</td>
  85. </tr>
  86. <%end ponumber%>
  87. <%if ordnumber%>
  88. <tr>
  89. <th align=left>Order #</th>
  90. <td><%ordnumber%>&nbsp;</td>
  91. </tr>
  92. <%end ordnumber%>
  93. <tr>
  94. <th align=left nowrap>Employee</th>
  95. <td><%employee%>&nbsp;</td>
  96. </tr>
  97. </table>
  98. </td>
  99. </tr>
  100. </table>
  101. </td>
  102. </tr>
  103. <tr height=5></tr>
  104. <tr>
  105. <td>&nbsp;</td>
  106. <td>
  107. <table>
  108. <%foreach account%>
  109. <tr valign=top>
  110. <td><%accno%></td>
  111. <td><%account%></td>
  112. <td width=10>&nbsp</td>
  113. <td align=right><%amount%></td>
  114. <td width=10>&nbsp</td>
  115. <td><%description%></td>
  116. <td width=10>&nbsp</td>
  117. <td><%projectnumber%></td>
  118. </tr>
  119. <%end account%>
  120. <tr>
  121. <%if taxincluded%>
  122. <th colspan=2 align=right>Total</th>
  123. <td width=10>&nbsp</td>
  124. <td align=right><%invtotal%></td>
  125. <%end taxincluded%>
  126. <%if not taxincluded%>
  127. <th colspan=2 align=right>Subtotal</th>
  128. <td width=10>&nbsp</td>
  129. <td align=right><%subtotal%></td>
  130. <%end taxincluded%>
  131. </tr>
  132. <%foreach tax%>
  133. <tr>
  134. <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
  135. <td width=10>&nbsp</td>
  136. <td align=right><%tax%></td>
  137. </tr>
  138. <%end tax%>
  139. <%if not taxincluded%>
  140. <tr>
  141. <th colspan=2 align=right>Total</th>
  142. <td width=10>&nbsp</td>
  143. <td align=right><%invtotal%></td>
  144. </tr>
  145. <%end taxincluded%>
  146. </table>
  147. </td>
  148. </tr>
  149. <tr>
  150. <td>&nbsp;</td>
  151. <td>
  152. <%text_amount%> ***** <%decimal%>/100 <%currency%>
  153. </td>
  154. </tr>
  155. <tr>
  156. <td>&nbsp;</td>
  157. <td>
  158. <%notes%>
  159. </td>
  160. </tr>
  161. <%if paid_1%>
  162. <tr>
  163. <td>&nbsp;</td>
  164. <td>
  165. <table>
  166. <tr>
  167. <th>Payments</th>
  168. </tr>
  169. <tr>
  170. <td>
  171. <hr noshade>
  172. </td>
  173. </tr>
  174. <tr>
  175. <td>
  176. <table>
  177. <tr>
  178. <th>Date</th>
  179. <th>&nbsp;</th>
  180. <th>Source</th>
  181. <th>Memo</th>
  182. <th>Amount</th>
  183. </tr>
  184. <%end paid_1%>
  185. <%foreach payment%>
  186. <tr>
  187. <td><%paymentdate%></td>
  188. <td><%paymentaccount%></td>
  189. <td><%paymentsource%></td>
  190. <td><%paymentmemo%></td>
  191. <td align=right><%payment%></td>
  192. </tr>
  193. <%end payment%>
  194. <%if paid_1%>
  195. </table>
  196. </td>
  197. </tr>
  198. </table>
  199. </td>
  200. </tr>
  201. <%end paid_1%>
  202. <tr height=10></tr>
  203. <%if taxincluded%>
  204. <tr>
  205. <td>&nbsp;</td>
  206. </tr>
  207. <tr>
  208. <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
  209. </tr>
  210. <%end taxincluded%>
  211. </table>
  212. </body>
  213. </html>