1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Circulation › Hold 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 -->
11 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
12 <script type="text/JavaScript" language="JavaScript">
14 $.tablesorter.addParser({
16 is: function(s) {return false; },
17 format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); },
20 $(document).ready(function() {
22 $.tablesorter.defaults.widgets = ['zebra'];
23 $("#holdst").tablesorter({
25 headers: { 1: { sorter: 'articles' }}
32 <!-- TMPL_INCLUDE NAME="header.inc" -->
33 <!-- TMPL_INCLUDE NAME="circ-search.inc" -->
36 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › Hold Ratios</div>
38 <div id="doc3" class="yui-t2">
43 <h1>Hold Ratios to Calculate Items Needed</h1>
44 <h3>Calculated on <!-- TMPL_VAR NAME="todaysdate" -->. From <!-- TMPL_VAR NAME="from" -->
45 to <!-- TMPL_VAR NAME="to" --></h3>
46 <p>These items have a large number of holds.</p>
47 <!-- TMPL_IF NAME="reserveloop" -->
51 <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>
54 <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>
57 <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>
60 <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>
63 <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>
66 <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>
69 <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>
75 <tbody><!-- TMPL_LOOP NAME="reserveloop" -->
76 <!-- TMPL_IF name="ratio_ge_one" -->
79 <p><!-- TMPL_VAR NAME="reservecount" --></p>
82 <p><!-- TMPL_VAR NAME="itemcount" --></p>
86 <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
87 <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
88 <!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_VAR NAME="subtitle" -->
91 <!-- TMPL_IF name="BiblioDefaultViewisbd" -->
92 <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
93 <!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_VAR NAME="subtitle" -->
96 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
97 <!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_VAR NAME="subtitle" -->
102 <p><!-- TMPL_VAR NAME="notes" --></p>
105 <td><p><!-- TMPL_VAR NAME="listbranch" --></p></td>
106 <td><p><!-- TMPL_VAR NAME="location" --></p></td>
107 <td><p><!-- TMPL_VAR NAME="itype" --></p></td>
108 <td><p><!-- TMPL_VAR NAME="listcall" --></p></td>
109 <td><p><b><!-- TMPL_VAR NAME="ratiocalc" --> to order</b></p></td>
112 <!-- /TMPL_LOOP --></tbody>
115 <b>No items found.</b>
120 <form action="/cgi-bin/koha/circ/reserveratios.pl" method="post" >
121 <fieldset class="brief">
122 <h4>Refine Results:</h4>
123 <ol><li><label for="ratio">
126 <input type="text" size="5" id="ratio" name="ratio" value="<!-- TMPL_VAR NAME="ratio" -->" /></li>
127 <li><label for="from">
130 <input type="text" size="10" id="from" name="from" value="<!-- TMPL_VAR NAME="from" -->" />
131 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" border="0" id="openCalendarFrom" style="cursor: pointer;" alt="" />
132 <script language="JavaScript" type="text/javascript">
133 function validate1(date) {
134 var day = date.getDate();
135 var month = date.getMonth() + 1;
136 var year = date.getFullYear();
137 var weekDay = date.getDay();
138 var dayMonth = month + '-' + day;
139 var dateString = year + '-' + month + '-' + day;
140 var dateTo = document.getElementById('to').value.split("-");
141 var limitDate = new Date(dateTo[0], (dateTo[1] - 1), dateTo[2]);
142 if (date > limitDate) {
151 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
152 button : "openCalendarFrom",
153 disableFunc : validate1,
154 dateStatusFunc : validate1
158 <li><label for="to" >
161 <input size="10" id="to" name="to" value="<!-- TMPL_VAR NAME="to" -->" type="text" />
162 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="" id="openCalendarTo" style="cursor: pointer;" border="0" />
163 <script type="text/javascript">
164 function validate2(date) {
165 var day = date.getDate();
166 var month = date.getMonth() + 1;
167 var year = date.getFullYear();
168 var weekDay = date.getDay();
169 var dayMonth = month + '-' + day;
170 var dateString = year + '-' + month + '-' + day;
171 var dateFrom = document.getElementById('from').value.split("-");
172 var limitDate = new Date(dateFrom[0], (dateFrom[1] - 1), dateFrom[2]);
173 if (limitDate > date) {
183 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
184 button : "openCalendarTo",
185 disableFunc : validate2,
186 dateStatusFunc : validate2
192 <fieldset class="action"><input type="submit" value="Go" class="submit"/></fieldset>
198 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->