Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / acctranscorrections / analyze_filter.html
index 1d81d0f..11c6136 100644 (file)
@@ -1,7 +1,7 @@
 [%- USE T8 %]
 [% USE HTML %]
-<body>
- <p><div class="listheading">[% title %]</div></p>
+[%- USE L %]
+ <h1>[% title %]</h1>
 
  <p>
   [% 'Earlier versions of kivitendo contained bugs which might have led to wrong entries in the general ledger.' | $T8 %]
@@ -9,7 +9,7 @@
   [% 'This module can help you identify and correct such entries by analyzing the general ledger and presenting you likely solutions but also allowing you to fix problems yourself.' | $T8 %]
  </p>
 
- <form name="filter" method="post" action="acctranscorrections.pl">
+ <form name="filter" method="post" action="acctranscorrections.pl" id="form">
 
   <p>[% 'Time period for the analysis:' | $T8 %]</p>
 
      <td>
       [% 'Period:' | $T8 %]
       [% 'from (time)' | $T8 %]
-      <input name="transdate_from" id="transdate_from" size="10">
-      <input type="button" name="transdate_from_trigger" id="transdate_from_trigger" value="?">
+      [% L.date_tag('transdate_from') %]
       [% 'to (time)' | $T8 %]
-      <input name="transdate_to" id="transdate_to" size="10">
-      <input type="button" name="transdate_to_trigger" id="transdate_to_trigger" value="?">
+      [% L.date_tag('transdate_to') %]
      </td>
     </tr>
    </table>
   </p>
 
-  <p>
-   <input type="submit" value="[% 'Start analysis' | $T8 %]">
-  </p>
-
   <input type="hidden" name="action" value="analyze">
  </form>
-
- <script type="text/javascript">
-  <!--
-    Calendar.setup({ inputField : "transdate_from", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdate_from_trigger" });
-    Calendar.setup({ inputField : "transdate_to",   ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdate_to_trigger" });
-  //-->
- </script>
-</body>
-</html>