summaryrefslogtreecommitdiff
path: root/UI/rp-aging.html
blob: dec5465397077759c36634ea35bb2055c3e8d133 (plain)
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <title><?lsmb form.titlebar ?></title>
  6. <meta http-equiv="Pragma" content="no-cache" />
  7. <meta http-equiv="Expires" content="-1" />
  8. <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
  9. <link rel="stylesheet" href="css/<?lsmb form.stylesheet ?>" type="text/css" title="LedgerSMB stylesheet" />
  10. <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  11. <meta name="robots" content="noindex,nofollow" />
  12. </head>
  13. <?lsmb PROCESS elements.html ?>
  14. <body>
  15. <table width="100%">
  16. <tr>
  17. <th class="listtop" colspan="<?lsmb columns.size ?>"><?lsmb form.title ?></th>
  18. </tr>
  19. <tr>
  20. <?lsmb IF options.defined ?>
  21. <td><?lsmb FOREACH option IN options; option ?><br /><?lsmb END ?></td>
  22. <?lsmb ELSE ?>
  23. <td colspan="<?lsmb columns.size ?>"></td></tr>
  24. <?lsmb END ?>
  25. </tr>
  26. <?lsmb FOREACH currency IN rows ?>
  27. <tr><td colspan="<?lsmb columns.size ?>"><?lsmb currency.curr ?></td></tr>
  28. <tr class="listheading">
  29. <?lsmb FOREACH column IN columns ?>
  30. <th class="listtop" <?lsmb
  31. IF column == 'statement' ?>width="1%"<?lsmb
  32. ELSIF column == 'ct' ?>width="60%"<?lsmb
  33. ELSIF column.substr(0, 1) == 'c' ?>width="10%" nowrap="nowrap"<?lsmb
  34. ELSIF column == 'total' ?>width="10%" nowrap="nowrap"<?lsmb END ?>>
  35. <?lsmb IF heading.$column.href ?><a class="listtop" href="<?lsmb heading.$column.href ?>"><?lsmb heading.$column.text ?></a>
  36. <?lsmb ELSE; heading.$column; END ?>
  37. </th>
  38. <?lsmb END ?>
  39. </tr>
  40. <?lsmb FOREACH row IN currency.rows ?>
  41. <?lsmb IF row.class == 'heading'; s = 'th'; c = 'listheading';
  42. ELSIF row.class == 'subtotal'; s = 'th'; c = 'listsubtotal';
  43. ELSE; s = 'td'; c = "listrow${row.i}"; END ?>
  44. <tr class="<?lsmb c ?>">
  45. <?lsmb FOREACH column IN columns ?>
  46. <<?lsmb s ?> class="<?lsmb c ?>" <?lsmb IF (!row.class.defined || row.class != 'heading') && row_alignment.$column ?>align="<?lsmb row_alignment.$column ?>"<?lsmb END ?>>
  47. <?lsmb IF row.$column.href ?>
  48. <a href="<?lsmb row.$column.href?>"><?lsmb row.$column.text ?></a>
  49. <?lsmb ELSIF row.$column.delimiter;
  50. FOREACH l IN row.$column.text.split(row.$column.delimiter); l ?><br /><?lsmb END;
  51. ELSIF row.$column.options; PROCESS option element_data=row.$column;
  52. ELSIF column == 'statement'; PROCESS input element_data=row.$column;
  53. ELSE; row.$column; END ?>
  54. </<?lsmb s ?>>
  55. <?lsmb END ?>
  56. </tr>
  57. <?lsmb END ?>
  58. <?lsmb IF currency.totals ?>
  59. <tr class="listtotal">
  60. <?lsmb FOREACH column IN columns ?>
  61. <th class="listtotal" align="right"><?lsmb currency.totals.$column ?></th>
  62. <?lsmb END ?>
  63. </tr>
  64. <?lsmb END ?>
  65. <?lsmb END ?>
  66. <tr><td colspan="<?lsmb columns.size ?>"><hr size="3" /></td></tr>
  67. </table>
  68. <br />
  69. <form method="post" action="<?lsmb form.script ?>">
  70. <?lsmb IF form.arap == 'ar';
  71. PROCESS select element_data=form.print.template;
  72. PROCESS select element_data=form.print.format;
  73. PROCESS select element_data=form.print.medium;
  74. IF form.print.copies.defined;
  75. PROCESS input element_data=form.print.copies;
  76. END ?><br /><?lsmb
  77. END ?>
  78. <?lsmb FOREACH hidden IN hiddens.keys;
  79. PROCESS input element_data={
  80. type => 'hidden',
  81. name => hidden,
  82. value => hiddens.item(hidden)
  83. }; END ?>
  84. <?lsmb FOREACH button IN buttons; PROCESS button element_data=button; END ?>
  85. </form>
  86. </body>
  87. </html>