summaryrefslogtreecommitdiff
path: root/UI/rp-aging.html
blob: 945c70252b91b3c3c7fa7da140e3bc961af4fd9a (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. <form method="post" action="<?lsmb form.script ?>">
  16. <table width="100%">
  17. <tr>
  18. <th class="listtop" colspan="<?lsmb columns.size ?>"><?lsmb form.title ?></th>
  19. </tr>
  20. <tr>
  21. <?lsmb IF options.defined ?>
  22. <td colspan="<?lsmb columns.size ?>"><?lsmb FOREACH option IN options; option ?><br /><?lsmb END ?></td>
  23. <?lsmb ELSE ?>
  24. <td colspan="<?lsmb columns.size ?>"></td></tr>
  25. <?lsmb END ?>
  26. </tr>
  27. <?lsmb FOREACH currency IN currencies ?>
  28. <tr><td colspan="<?lsmb columns.size ?>"><?lsmb currency.curr ?></td></tr>
  29. <tr class="listheading">
  30. <?lsmb FOREACH column IN columns ?>
  31. <th class="listtop" <?lsmb
  32. IF column == 'statement' ?>width="1%"<?lsmb
  33. ELSIF column == 'ct' ?>width="60%"<?lsmb
  34. ELSIF column.substr(0, 1) == 'c' ?>width="10%" nowrap="nowrap"<?lsmb
  35. ELSIF column == 'total' ?>width="10%" nowrap="nowrap"<?lsmb END ?>>
  36. <?lsmb IF heading.$column.href ?><a class="listtop" href="<?lsmb heading.$column.href ?>"><?lsmb heading.$column.text ?></a>
  37. <?lsmb ELSE; heading.$column; END ?>
  38. </th>
  39. <?lsmb END ?>
  40. </tr>
  41. <?lsmb FOREACH row IN currency.rows ?>
  42. <?lsmb IF row.class == 'heading'; s = 'th'; c = 'listheading';
  43. ELSIF row.class == 'subtotal'; s = 'th'; c = 'listsubtotal';
  44. ELSE; s = 'td'; c = "listrow${row.i}"; END ?>
  45. <tr class="<?lsmb c ?>">
  46. <?lsmb FOREACH column IN columns ?>
  47. <<?lsmb s ?> class="<?lsmb c ?>" <?lsmb IF (!row.class.defined || row.class != 'heading') && row_alignment.$column ?>align="<?lsmb row_alignment.$column ?>"<?lsmb END ?>>
  48. <?lsmb IF row.$column.href ?>
  49. <a href="<?lsmb row.$column.href?>"><?lsmb row.$column.text ?></a>
  50. <?lsmb ELSIF row.$column.delimiter;
  51. FOREACH l IN row.$column.text.split(row.$column.delimiter); l ?><br /><?lsmb END;
  52. ELSIF row.$column.options; PROCESS select element_data=row.$column;
  53. ELSIF column == 'statement' AND row.$column.type.defined;
  54. PROCESS input element_data=row.$column;
  55. ELSE; row.$column; END ?>
  56. </<?lsmb s ?>>
  57. <?lsmb END ?>
  58. </tr>
  59. <?lsmb END ?>
  60. <?lsmb IF currency.totals ?>
  61. <tr class="listtotal">
  62. <?lsmb FOREACH column IN columns ?>
  63. <th class="listtotal" align="right"><?lsmb currency.totals.$column ?></th>
  64. <?lsmb END ?>
  65. </tr>
  66. <?lsmb END ?>
  67. <?lsmb END ?>
  68. <tr><td colspan="<?lsmb columns.size ?>"><hr size="3" /></td></tr>
  69. </table>
  70. <br />
  71. <?lsmb IF form.arap == 'ar';
  72. PROCESS select element_data=form.print.template;
  73. PROCESS select element_data=form.print.format;
  74. PROCESS select element_data=form.print.medium;
  75. IF form.print.copies.defined;
  76. PROCESS input element_data=form.print.copies;
  77. END ?><br /><?lsmb
  78. END ?>
  79. <?lsmb FOREACH hidden IN hiddens.keys;
  80. PROCESS input element_data={
  81. type => 'hidden',
  82. name => hidden,
  83. value => hiddens.item(hidden)
  84. }; END ?>
  85. <?lsmb FOREACH button IN buttons; PROCESS button element_data=button; END ?>
  86. </form>
  87. </body>
  88. </html>