summaryrefslogtreecommitdiff
path: root/templates/Danish-ap_transaction.html
blob: fd7a96eb2454c96726f22300164d09f54cd96f16 (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%>
  11. <br><%address%>
  12. </h4>
  13. </td>
  14. <th><img src=http://www.sql-ledger.org/images/sql-ledger.png border=0 width=80 height=58></th>
  15. <td align=right>
  16. <h4>
  17. Tel: <%tel%>
  18. <br>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%> <%state%> <%zipcode%>
  42. <%if country%>
  43. <br><%country%>
  44. <%end country%>
  45. <br>
  46. <%if contact%>
  47. <br><%contact%>
  48. <br>
  49. <%end contact%>
  50. <%if customerphone%>
  51. <br>Tel: <%customerphone%>
  52. <%end customerphone%>
  53. <%if customerfax%>
  54. <br>Fax: <%customerfax%>
  55. <%end customerfax%>
  56. <%if email%>
  57. <br><%email%>
  58. <%end email%>
  59. </td>
  60. <td align=right>
  61. <table>
  62. <tr>
  63. <th align=left nowrap>Invoice #</th>
  64. <td><%invnumber%></td>
  65. </tr>
  66. <tr>
  67. <th align=left nowrap>Date</th>
  68. <td><%invdate%></td>
  69. </tr>
  70. <tr>
  71. <th align=left nowrap>Due</th>
  72. <td><%duedate%></td>
  73. </tr>
  74. <tr>
  75. <th align=left>Order #</th>
  76. <td><%ordnumber%>&nbsp;</td>
  77. </tr>
  78. <tr>
  79. <th align=left nowrap>Employee</th>
  80. <td><%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. <%foreach account%>
  97. <tr valign=top>
  98. <td><%accno%></td>
  99. <td><%account%></td>
  100. <td align=right><%amount%></td>
  101. <td><%projectnumber%></td>
  102. </tr>
  103. <%end account%>
  104. <tr>
  105. <%if taxincluded%>
  106. <th colspan=2 align=right>Total</th>
  107. <td align=right><%invtotal%></td>
  108. <%end taxincluded%>
  109. <%if not taxincluded%>
  110. <th colspan=2 align=right>Subtotal</th>
  111. <td align=right><%subtotal%></td>
  112. <%end taxincluded%>
  113. </tr>
  114. <%foreach tax%>
  115. <tr>
  116. <th colspan=2 align=right><%taxdescription%> @ <%taxrate%> %</th>
  117. <td align=right><%tax%></td>
  118. </tr>
  119. <%end tax%>
  120. <%if not taxincluded%>
  121. <th colspan=2 align=right>Total</th>
  122. <td align=right><%invtotal%></td>
  123. <%end taxincluded%>
  124. </table>
  125. </td>
  126. <td width=50%>
  127. <%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. <%text_amount%> ***** <%decimal%>/100 <%currency%>
  139. </td>
  140. </tr>
  141. <%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. <%end paid%>
  165. <%foreach payment%>
  166. <tr>
  167. <td><%paymentdate%></td>
  168. <td><%paymentaccount%></td>
  169. <td><%paymentsource%></td>
  170. <td><%paymentmemo%></td>
  171. <td><%payment%></td>
  172. </tr>
  173. <%end payment%>
  174. <%if paid%>
  175. </table>
  176. </td>
  177. </tr>
  178. </table>
  179. </td>
  180. </tr>
  181. <%end paid%>
  182. <tr height=10></tr>
  183. <%if taxincluded%>
  184. <tr>
  185. <td>&nbsp;</td>
  186. </tr>
  187. <tr>
  188. <th colspan=3 align=left><font size=-2>Taxes shown are included in price.</th>
  189. </tr>
  190. <%end taxincluded%>
  191. </table>
  192. </body>
  193. </html>