summaryrefslogtreecommitdiff
path: root/UI/am-list-recurring.html
blob: c9234df9f3374879fbe4722ed2daf3d8aa02f6af (plain)
  1. <?lsmb INCLUDE 'ui-header.html' ?>
  2. <?lsmb PROCESS elements.html ?>
  3. <body>
  4. <form method="post" action="<?lsmb form.script ?>">
  5. <table width="100%">
  6. <tr>
  7. <th class="listtop"><?lsmb text('Recurring Transactions') ?></th>
  8. </tr>
  9. <tr><td>&nbsp;</td></tr>
  10. <tr>
  11. <td>
  12. <table width=100%>
  13. <tr class="listtop">
  14. <?lsmb FOREACH column IN columns ?>
  15. <th class="listtop">
  16. <?lsmb IF heading.$column.text.defined ?>
  17. <a class="listtop" href="<?lsmb heading.$column.href ?>"><?lsmb heading.$column.text ?></a>
  18. <?lsmb ELSE;
  19. heading.$column;
  20. END ?>
  21. </th>
  22. <?lsmb END ?>
  23. </tr>
  24. <?lsmb FOREACH transaction_type IN transactions ?>
  25. <tr>
  26. <th class="listheading" colspan="<?lsmb columns.size ?>"><?lsmb transaction_type.title ?></th>
  27. </tr>
  28. <?lsmb FOREACH transaction IN transaction_type.transactions ?>
  29. <tr class="listrow<?lsmb transaction.i ?>">
  30. <?lsmb FOREACH column IN columns ?>
  31. <td>
  32. <?lsmb IF transaction.$column.delimiter.defined;
  33. transaction.$column.text.replace(transaction.$column.delimiter, '<br />');
  34. ELSIF transaction.$column.href.defined;
  35. '<a href="'; transaction.$column.href; '">'; transaction.$column.text; '</a>';
  36. ELSIF transaction.$column.type.defined;
  37. PROCESS input element_data=transaction.$column;
  38. ELSE;
  39. transaction.$column;
  40. END ?>
  41. </td>
  42. <?lsmb END ?>
  43. </tr>
  44. <?lsmb END ?>
  45. <?lsmb END ?>
  46. </tr>
  47. </table>
  48. </td>
  49. </tr>
  50. <tr>
  51. <td><hr size="3" noshade="noshade" /></td>
  52. </tr>
  53. </table>
  54. <?lsmb FOREACH hidden IN hiddens.keys;
  55. PROCESS input element_data={
  56. type => 'hidden',
  57. name => hidden,
  58. value => hiddens.item(hidden)
  59. }; END;
  60. PROCESS button element_data={name => 'action', value => 'process_transactions' text => text('Process Transactions')} ?>
  61. </form>
  62. </body>
  63. </html>