1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Circulation › Reserve Ratios</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <!-- Additions to enable Calendar system -->
5 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-system.css" />
6 <!-- End of additions --><!-- Additions to enable Calendar system -->
7 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar.js"></script>
8 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-en.js"></script>
9 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-setup.js"></script>
10 <!-- End of additions -->
13 <!-- TMPL_INCLUDE NAME="header.inc" -->
14 <!-- TMPL_INCLUDE NAME="circ-search.inc" -->
17 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › Reserve Ratios</div>
19 <div id="doc3" class="yui-t2">
25 <h1>Reserve Ratios to Calculate Items Needed<br>
26 Calculated on <!-- TMPL_VAR NAME="todaysdate" --> <br>From <!-- TMPL_VAR NAME="from" -->
27 to <!-- TMPL_VAR NAME="to" --></h1>
36 <input type="text" size="5" id="ratio" name="ratio" value="<!-- TMPL_VAR NAME="ratio" -->" />
40 <input type="text" size="10" id="from" name="from" value="<!-- TMPL_VAR NAME="from" -->" />
41 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" border="0" id="openCalendarFrom" style="cursor: pointer;" alt="" />
42 <script language="JavaScript" type="text/javascript">
43 function validate1(date) {
44 var day = date.getDate();
45 var month = date.getMonth() + 1;
46 var year = date.getFullYear();
47 var weekDay = date.getDay();
48 var dayMonth = month + '-' + day;
49 var dateString = year + '-' + month + '-' + day;
50 var dateTo = document.getElementById('to').value.split("-");
51 var limitDate = new Date(dateTo[0], (dateTo[1] - 1), dateTo[2]);
52 if (date > limitDate) {
61 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
62 button : "openCalendarFrom",
63 disableFunc : validate1,
64 dateStatusFunc : validate1
71 <input size="10" id="to" name="to" value="<!-- TMPL_VAR NAME="to" -->" type="text" />
72 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="" id="openCalendarTo" style="cursor: pointer;" valign="top" border="0" />
73 <script type="text/javascript">
74 function validate2(date) {
75 var day = date.getDate();
76 var month = date.getMonth() + 1;
77 var year = date.getFullYear();
78 var weekDay = date.getDay();
79 var dayMonth = month + '-' + day;
80 var dateString = year + '-' + month + '-' + day;
81 var dateFrom = document.getElementById('from').value.split("-");
82 var limitDate = new Date(dateFrom[0], (dateFrom[1] - 1), dateFrom[2]);
83 if (limitDate > date) {
93 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
94 button : "openCalendarTo",
95 disableFunc : validate2,
96 dateStatusFunc : validate2
102 <input type="submit" value="Go" class="submit">
105 <p>These items have a large number of holds.</p>
108 <div class="searchresults">
109 <!-- TMPL_IF NAME="reserveloop" -->
113 <a href="/cgi-bin/koha/circ/reserveratios.pl?ratio=<!-- TMPL_VAR NAME="ratio" -->&order=reservecount&from=<!-- TMPL_VAR NAME="from" -->&to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
116 <a href="/cgi-bin/koha/circ/reserveratios.pl?ratio=<!-- TMPL_VAR NAME="ratio" -->&order=itemcount&from=<!-- TMPL_VAR NAME="from" -->&to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
119 <a href="/cgi-bin/koha/circ/reserveratios.pl?ratio=<!-- TMPL_VAR NAME="ratio" -->&order=biblio&from=<!-- TMPL_VAR NAME="from" -->&to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
122 <a href="/cgi-bin/koha/circ/reserveratios.pl?ratio=<!-- TMPL_VAR NAME="ratio" -->&order=branch&from=<!-- TMPL_VAR NAME="from" -->&to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
125 <a href="/cgi-bin/koha/circ/reserveratios.pl?ratio=<!-- TMPL_VAR NAME="ratio" -->&order=location&from=<!-- TMPL_VAR NAME="from" -->&to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
128 <a href="/cgi-bin/koha/circ/reserveratios.pl?ratio=<!-- TMPL_VAR NAME="ratio" -->&order=itype&from=<!-- TMPL_VAR NAME="from" -->&to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
131 <a href="/cgi-bin/koha/circ/reserveratios.pl?ratio=<!-- TMPL_VAR NAME="ratio" -->&order=callnumber&from=<!-- TMPL_VAR NAME="from" -->&to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
137 <!-- TMPL_LOOP NAME="reserveloop" -->
139 <!-- TMPL_IF name="ratio_ge_one" -->
141 <p><!-- TMPL_VAR NAME="reservecount" --></p>
144 <p><!-- TMPL_VAR NAME="itemcount" --></p>
148 <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
149 <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
150 <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" -->
153 <!-- TMPL_IF name="BiblioDefaultViewisbd" -->
154 <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
155 <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" -->
158 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
159 <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" -->
164 <p><!-- TMPL_VAR NAME="notes" --></p>
167 <td><p><!-- TMPL_VAR NAME="listbranch" --></p></td>
168 <td><p><!-- TMPL_VAR NAME="location" --></p></td>
169 <td><p><!-- TMPL_VAR NAME="itype" --></p></td>
170 <td><p><!-- TMPL_VAR NAME="listcall" --></p></td>
171 <td><p><b>Order: <!-- TMPL_VAR NAME="ratiocalc" --></b></p></td>
177 <b>No items found.</b>
183 <!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
186 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->