summaryrefslogtreecommitdiff
path: root/templates/spiff-en/ap_transaction.html
blob: b6c2b8f442cc0f0430b9b2768ef130bed982c46d (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 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><?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 vendorphone ?>
  34. <br>Tel: <?lsmb vendorphone ?>
  35. <?lsmb end vendorphone ?>
  36. <?lsmb if vendorfax ?>
  37. <br>Fax: <?lsmb vendorfax ?>
  38. <?lsmb end vendorfax ?>
  39. <?lsmb if email ?>
  40. <br><?lsmb email ?>
  41. <?lsmb end email ?>
  42. <?lsmb if vendortaxnumber ?>
  43. <p>Taxnumber: <?lsmb vendortaxnumber ?>
  44. <?lsmb end vendortaxnumber ?>
  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>Employee</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> </td>
  92. <td align=right><?lsmb amount ?></td>
  93. <td width=10> </td>
  94. <td><?lsmb description ?></td>
  95. <td width=10> </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> </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> </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> </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> </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>Memo</th>
  161. <th>Amount</th>
  162. </tr>
  163. <?lsmb end paid_1 ?>
  164. <?lsmb foreach payment ?>
  165. <tr>
  166. <td><?lsmb paymentdate ?></td>
  167. <td><?lsmb paymentaccount ?></td>
  168. <td><?lsmb paymentsource ?></td>
  169. <td><?lsmb paymentmemo ?></td>
  170. <td align=right><?lsmb payment ?></td>
  171. </tr>
  172. <?lsmb end payment ?>
  173. <?lsmb if paid_1 ?>
  174. </table>
  175. </td>
  176. </tr>
  177. </table>
  178. </td>
  179. </tr>
  180. <?lsmb end paid_1 ?>
  181. <tr height=10></tr>
  182. <?lsmb 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. <?lsmb end taxincluded ?>
  190. </table>
  191. </body>
  192. </html>