summaryrefslogtreecommitdiff
path: root/UI/payments/payment1.html
blob: d928dd3305d8ff5954999817437cc8fb12ca8c51 (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 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 stylesheet ?>" type="text/css" />
  10. <meta http-equiv="content-type" content="text/html; charset=<?lsmb charset ?>" />
  11. <meta name="robots" content="noindex,nofollow" />
  12. </head>
  13. <body id="payment-1-body">
  14. <form name="search" method="post" action="payment.pl">
  15. <?lsmb PROCESS elements.html # Include form elements helper. -?>
  16. <?lsmb login.type = 'hidden' ; INCLUDE input element_data=login -?>
  17. <?lsmb accountclass.type = 'hidden'; INCLUDE input element_data=accountclass -?>
  18. <?lsmb # The first_load field is required on payment2.html to initialize discounts the first time, on each subsequent update it wont exist-?>
  19. <?lsmb INCLUDE input element_data={
  20. name => 'first_load',
  21. id => 'first_load',
  22. type => 'hidden',
  23. value => 'on'} ?>
  24. <?lsmb type.type = "hidden"; INCLUDE input element_data=type; -?>
  25. <table width="100%">
  26. <tr id="top-bar" class="listtop">
  27. <th id="top-bar-header" class="listtop"><label id="top-bar-header-label"><?lsmb text('Receipts') ?></th>
  28. </tr>
  29. </table>
  30. <table id="search-form-table">
  31. <tr id="cost-center-row">
  32. <td id="cost-center-label-column" class="label-left"><?lsmb text('Departments') ?></td>
  33. <td id="department-column">
  34. <?lsmb PROCESS select element_data=department ?>
  35. </td>
  36. </tr>
  37. <tr id="vc-currency-row">
  38. <td id="vc-label-column" class="label-left">
  39. <?lsmb IF (type.value == 'receipt') -?>
  40. <?lsmb text('Customer Name') -?>
  41. <?lsmb ELSE; text('Vendor Name') -?>
  42. <?lsmb END -?>
  43. </td>
  44. <td id="vc-column">
  45. <input id="vc_name" name="vc_name"/>
  46. </td>
  47. <td id="vc-label-column2" align="right">
  48. <?lsmb text('SSN')?>
  49. </td>
  50. <td id="vc-column2">
  51. <input id="vc_ssn" name="vc_ssn" size="10"/>
  52. </td>
  53. </tr>
  54. <tr>
  55. <td id="currency-label-column" class="label-left"><?lsmb text('Currency') ?></td>
  56. <td id="currency-column">
  57. <?lsmb PROCESS select element_data=curr ?>
  58. </td>
  59. </tr>
  60. <tr id="daterange-row">
  61. <td id="datefrom-label-column" class="label-left"><?lsmb text('Date from') ?> &gt;=</td>
  62. <td id="datefrom-gt-column">
  63. <?lsmb
  64. datefrom.type = "text";
  65. datefrom.size = "10" ;
  66. datefrom.maxlenght = "10" ;
  67. datefrom.name = "datefrom";
  68. INCLUDE input element_data=datefrom;
  69. -?>
  70. </td>
  71. <td id="dateto-label-column" class="label-left" align=right><?lsmb text('Date to') ?> &lt;=</td>
  72. <td id="dateto-column">
  73. <?lsmb
  74. dateto.type = "text";
  75. dateto.size = "10" ;
  76. dateto.maxlenght = "10" ;
  77. dateto.name = "dateto";
  78. INCLUDE input element_data=dateto;
  79. -?>
  80. </td>
  81. </tr>
  82. <tr id="total-row">
  83. <td id="total-gt-label-column" class="label-left"><?lsmb text('Total') ?> &gt;=</td>
  84. <td id="total-gt-column">
  85. <?lsmb
  86. amountfrom.type = "text";
  87. amountfrom.size = "10" ;
  88. amountfrom.maxlenght = "10" ;
  89. PROCESS input element_data=amountfrom;
  90. ?>
  91. </td>
  92. <td id="total-lt-label-column" class="label-left" align=right><?lsmb text('Total') ?> &lt;=</td>
  93. <td id="total-lt-column">
  94. <?lsmb
  95. amountto.type = "text";
  96. amountto.size = "10" ;
  97. amountto.maxlenght = "10" ;
  98. PROCESS input element_data=amountto;
  99. ?>
  100. </td>
  101. </tr>
  102. </table>
  103. <hr />
  104. <?lsmb PROCESS button element_data=action ?>
  105. </form>
  106. </body>
  107. </html>