Bug 10862: (follow-up) fix a couple of issues
[koha_fer] / koha-tmpl / intranet-tmpl / prog / en / modules / reports / borrowers_out.tt
index 682e6e5..58b5622 100644 (file)
@@ -2,6 +2,13 @@
 <title>Koha &rsaquo; Reports &rsaquo; Patrons with no checkouts</title>
 [% INCLUDE 'doc-head-close.inc' %]
 [% INCLUDE 'calendar.inc' %]
+<script type="text/javascript">
+//<![CDATA[
+$(document).ready(function(){
+    $("#to").datepicker({ maxDate: "-1D" });
+});
+//]]>
+</script>
 </head>
 <body id="rep_borrowers_out" class="rep">
 [% INCLUDE 'header.inc' %]
@@ -19,7 +26,7 @@
     [% FOREACH mainloo IN mainloop %]
         <h1>Patrons with no checkouts</h1>
         [% IF ( mainloo.loopfilter ) %]
-            <p>Filtered on</p>
+            <p>Filtered on:</p>
             [% FOREACH loopfilte IN mainloo.loopfilter %]
                     <p>[% IF ( loopfilte.err ) %]  [% END %] [% loopfilte.crit %] =[% loopfilte.filter %][% IF ( loopfilte.err ) %]  [% END %]</p>
             [% END %]
      [% END %] 
     </select>
 </li>
-       <li><label for="to">Not checked out since: </label> <input size="10" id="to" name="Filter" value="" type="text" />
-                        <img src="[% themelang %]/lib/calendar/cal.gif" alt="Show Calendar" id="openCalendarTo" style="cursor: pointer;" border="0" />
-                            <script type="text/javascript">
-                                Calendar.setup(
-                                    {
-                                        inputField : "to",
-                                        ifFormat : "[% DHTMLcalendar_dateformat %]",
-                                        button : "openCalendarTo"
-                                    }
-                                );
-                            </script></li>
+    <li><label for="to">Not checked out since: </label> <input size="10" id="to" name="Filter" value="" type="text" />
+</li>
                </ol>
        </fieldset>