1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Circulation › Hold ratios</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% INCLUDE 'calendar.inc' %]
5 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
6 <script type="text/javascript">
8 $.tablesorter.addParser({
10 is: function(s) {return false; },
11 format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); },
14 $(document).ready(function() {
16 $(".ratiolimit").click(function () {
17 $("#ratio").val($(this).html());
19 $(".ratiolimit").hover(
20 function () { $(this).toggleClass("ulined") },
21 function () { $(this).toggleClass("ulined") }
23 $.tablesorter.defaults.widgets = ['zebra'];
24 $("#holdst:has(tbody tr)").tablesorter({ // only add sort if the table has a body and rows
26 headers: { 1: { sorter: 'articles' }}
31 <style type="text/css">
32 .sql { display: none; }
33 .ulined { text-decoration: underline; }
34 .ratiolimit { color: blue; cursor: pointer; }
37 <body id="circ_reserveratios" class="circ">
38 [% INCLUDE 'header.inc' %]
39 [% INCLUDE 'circ-search.inc' %]
41 <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>
43 <div id="doc3" class="yui-t2">
48 <h1>Hold ratios to calculate items needed</h1>
49 <h3>Calculated on [% todaysdate %]. From [% from %]
51 <p>These items have a hold ratio ≥ [% ratio %].</p>
52 <div class="sql">[% sql %]</div>
54 [% IF ( reserveloop ) %]
58 <a href="/cgi-bin/koha/circ/reserveratios.pl?ratio=[% ratio %]&order=reservecount&from=[% from %]&to=[% to %]">Sort</a>
61 <a href="/cgi-bin/koha/circ/reserveratios.pl?ratio=[% ratio %]&order=itemcount&from=[% from %]&to=[% to %]">Sort</a>
65 <a href="/cgi-bin/koha/circ/reserveratios.pl?ratio=[% ratio %]&order=biblio&from=[% from %]&to=[% to %]">Sort</a>
68 <a href="/cgi-bin/koha/circ/reserveratios.pl?ratio=[% ratio %]&order=branch&from=[% from %]&to=[% to %]">Sort</a>
71 <a href="/cgi-bin/koha/circ/reserveratios.pl?ratio=[% ratio %]&order=location&from=[% from %]&to=[% to %]">Sort</a>
74 <a href="/cgi-bin/koha/circ/reserveratios.pl?ratio=[% ratio %]&order=itype&from=[% from %]&to=[% to %]">Sort</a>
77 <a href="/cgi-bin/koha/circ/reserveratios.pl?ratio=[% ratio %]&order=callnumber&from=[% from %]&to=[% to %]">Sort</a>
83 <tbody>[% FOREACH reserveloo IN reserveloop %]
85 <td><p>[% reserveloo.reservecount %]</p></td>
86 <td><p>[% reserveloo.itemcount %]</p></td>
87 <td><p class="ratiolimit">[% reserveloo.thisratio %]</p></td>
88 <td> [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %][% reserveloo.title |html %] [% IF ( reserveloo.subtitle ) %][% FOREACH subtitl IN reserveloo.subtitle %][% subtitl.subfield %][% END %][% END %]</a>[% IF ( reserveloo.author ) %] by [% reserveloo.author %][% END %]
90 <td><p>[% reserveloo.listbranch %]</p></td>
91 <td><p>[% reserveloo.location %]</p></td>
92 <td><p>[% reserveloo.itype %]</p></td>
93 <td><p>[% reserveloo.listcall %]</p></td>
94 <td>[% IF ( reserveloo.thisratio_atleast1 ) %]<p><b>[% reserveloo.ratiocalc %] to order</b></p>[% END %]</td>
99 <b>No items found.</b>
104 <form action="/cgi-bin/koha/circ/reserveratios.pl" method="post" >
105 <fieldset class="brief">
106 <h4>Refine results:</h4>
107 <ol><li><label for="ratio">
110 <input type="text" size="5" id="ratio" name="ratio" value="[% ratio %]" /></li>
111 <li><label for="from">
114 <input type="text" size="10" id="from" name="from" value="[% from %]" class="datepickerfrom" />
119 <input size="10" id="to" name="to" value="[% to %]" type="text" class="datepickerto" />
123 <fieldset class="action"><input type="submit" value="Go" class="submit"/></fieldset>
129 [% INCLUDE 'intranet-bottom.inc' %]