summaryrefslogtreecommitdiff
path: root/templates/Service-ap_transaction.html
blob: 021a6d467aace40a6f9d7b6c67cc880f53014dd3 (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 ?><br>
  11. <?lsmb address ?>
  12. </h4>
  13. </td>
  14. <th><img src=ledger-smb.png border=0 width=84 height=58></th>
  15. <td align=right>
  16. <h4>
  17. Tel: <?lsmb tel ?><br>
  18. Fax: <?lsmb 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><?lsmb name ?>
  37. <br><?lsmb address1 ?>
  38. <?lsmb if address2 ?>
  39. <br><?lsmb address2 ?>
  40. <?lsmb end address2 ?>
  41. <br><?lsmb city ?>
  42. <?lsmb if state ?>
  43. , <?lsmb state ?>
  44. <?lsmb end state ?>
  45. <?lsmb zipcode ?>
  46. <?lsmb if country ?>
  47. <br><?lsmb country ?>
  48. <?lsmb end country ?>
  49. <br>
  50. <?lsmb if contact ?>
  51. <br><?lsmb contact ?>
  52. <br>
  53. <?lsmb end contact ?>
  54. <?lsmb if vendorphone ?>
  55. <br>Tel: <?lsmb vendorphone ?>
  56. <?lsmb end vendorphone ?>
  57. <?lsmb if vendorfax ?>
  58. <br>Fax: <?lsmb vendorfax ?>
  59. <?lsmb end vendorfax ?>
  60. <?lsmb if email ?>
  61. <br><?lsmb email ?>
  62. <?lsmb end email ?>
  63. <?lsmb if vendortaxnumber ?>
  64. <p>Taxnumber: <?lsmb vendortaxnumber ?>
  65. <?lsmb end vendortaxnumber ?>
  66. </td>
  67. <td align=right>
  68. <table>
  69. <tr>
  70. <th align=left nowrap>Invoice #</th>
  71. <td><?lsmb invnumber ?></td>
  72. </tr>
  73. <tr>
  74. <th align=left nowrap>Date</th>
  75. <td><?lsmb invdate ?></td>
  76. </tr>
  77. <tr>
  78. <th align=left nowrap>Due</th>
  79. <td><?lsmb duedate ?></td>
  80. </tr>
  81. <?lsmb if ponumber ?>
  82. <tr>
  83. <th align=left>PO #</th>
  84. <td><?lsmb ponumber ?>&nbsp;</td>
  85. </tr>
  86. <?lsmb end ponumber ?>
  87. <?lsmb if ordnumber ?>
  88. <tr>
  89. <th align=left>Order #</th>
  90. <td><?lsmb ordnumber ?>&nbsp;</td>
  91. </tr>
  92. <?lsmb end ordnumber ?>
  93. <tr>
  94. <th align=left nowrap>Employee</th>
  95. <td><?lsmb 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. <?lsmb foreach account ?>
  109. <tr valign=top>
  110. <td><?lsmb accno ?></td>
  111. <td><?lsmb account ?></td>
  112. <td width=10>&nbsp</td>
  113. <td align=right><?lsmb amount ?></td>
  114. <td width=10>&nbsp</td>
  115. <td><?lsmb description ?></td>
  116. <td width=10>&nbsp</td>
  117. <td><?lsmb projectnumber ?></td>
  118. </tr>
  119. <?lsmb end account ?>
  120. <tr>
  121. <?lsmb if taxincluded ?>
  122. <th colspan=2 align=right>Total</th>
  123. <td width=10>&nbsp</td>
  124. <td align=right><?lsmb invtotal ?></td>
  125. <?lsmb end taxincluded ?>
  126. <?lsmb if not taxincluded ?>
  127. <th colspan=2 align=right>Subtotal</th>
  128. <td width=10>&nbsp</td>
  129. <td align=right><?lsmb subtotal ?></td>
  130. <?lsmb end taxincluded ?>
  131. </tr>
  132. <?lsmb foreach tax ?>
  133. <tr>
  134. <th colspan=2 align=right><?lsmb taxdescription ?> @ <?lsmb taxrate ?> %</th>
  135. <td width=10>&nbsp</td>
  136. <td align=right><?lsmb tax ?></td>
  137. </tr>
  138. <?lsmb end tax ?>
  139. <?lsmb if not taxincluded ?>
  140. <tr>
  141. <th colspan=2 align=right>Total</th>
  142. <td width=10>&nbsp</td>
  143. <td align=right><?lsmb invtotal ?></td>
  144. </tr>
  145. <?lsmb end taxincluded ?>
  146. </table>
  147. </td>
  148. </tr>
  149. <tr>
  150. <td>&nbsp;</td>
  151. <td>
  152. <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?>
  153. </td>
  154. </tr>
  155. <tr>
  156. <td>&nbsp;</td>
  157. <td>
  158. <?lsmb notes ?>
  159. </td>
  160. </tr>
  161. <?lsmb 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. <?lsmb end paid_1 ?>
  185. <?lsmb foreach payment ?>
  186. <tr>
  187. <td><?lsmb paymentdate ?></td>
  188. <td><?lsmb paymentaccount ?></td>
  189. <td><?lsmb paymentsource ?></td>
  190. <td><?lsmb paymentmemo ?></td>
  191. <td align=right><?lsmb payment ?></td>
  192. </tr>
  193. <?lsmb end payment ?>
  194. <?lsmb if paid_1 ?>
  195. </table>
  196. </td>
  197. </tr>
  198. </table>
  199. </td>
  200. </tr>
  201. <?lsmb end paid_1 ?>
  202. <tr height=10></tr>
  203. <?lsmb 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. <?lsmb end taxincluded ?>
  211. </table>
  212. </body>
  213. </html>