Bug 10862: (follow-up) fix a couple of issues
[koha_fer] / koha-tmpl / intranet-tmpl / prog / en / modules / reports / borrowers_out.tt
index 47a4f6c..58b5622 100644 (file)
@@ -1,13 +1,20 @@
 [% INCLUDE 'doc-head-open.inc' %]
-<title>Koha &rsaquo; Reports &rsaquo; Patrons with No Checkouts</title>
+<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' %]
 [% INCLUDE 'cat-search.inc' %]
 
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> &rsaquo; Patrons with No Checkouts</div>
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> &rsaquo; Patrons with no checkouts</div>
 
 <div id="doc3" class="yui-t2">
    
@@ -17,9 +24,9 @@
 
 [% IF ( do_it ) %]
     [% FOREACH mainloo IN mainloop %]
-        <h1>Patrons with no Checkouts</h1>
+        <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 %]
         </table>
     [% END %]
 [% ELSE %]
-    <h1>Patrons with no Checkouts</h1>
+    <h1>Patrons with no checkouts</h1>
     <form method="post" action="/cgi-bin/koha/reports/borrowers_out.pl">
     <fieldset class="rows">
                <ol>
-                       <li><label for="patroncategory">Patron category: </label> <select name="Filter" id="patroncategory"><option value="" > Any Category code</option>
+            <li><label for="patroncategory">Patron category: </label> <select name="Filter" id="patroncategory"><option value="" > Any category code</option>
     [% FOREACH borcatloo IN borcatloop %]
         <option value="[% borcatloo.value %]" >[% borcatloo.description %] </option>  
      [% 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>
        
@@ -88,7 +86,7 @@
                     </select></li>
                        <li><label for="criteria">By: </label><select name="Criteria" id="criteria">
                         <option value ="" selected="selected">None</option>
-                        <option value ="categorycode">Patron Category</option>
+                        <option value ="categorycode">Patron category</option>
                         <option value ="branchcode">Library</option>
                     </select></li>
                </ol>