1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Circulation › Hold ratios</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% INCLUDE 'calendar.inc' %]
5 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
6 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
7 [% INCLUDE 'datatables-strings.inc' %]
8 <script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
9 <script type="text/javascript">
11 $(document).ready(function() {
12 $(".ratiolimit").click(function () {
13 $("#ratio").val($(this).html());
15 $(".ratiolimit").hover(
16 function () { $(this).toggleClass("ulined") },
17 function () { $(this).toggleClass("ulined") }
19 $("#holdst").dataTable($.extend(true, {}, dataTablesDefaults, {
21 { "aTargets": [ 8 ], "sType": "natural" }
23 "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]],
25 "sPaginationType": "four_button"
30 <style type="text/css">
31 .sql { display: none; }
32 .ulined { text-decoration: underline; }
33 .ratiolimit { color: blue; cursor: pointer; }
36 <body id="circ_reserveratios" class="circ">
37 [% INCLUDE 'header.inc' %]
38 [% INCLUDE 'circ-search.inc' %]
40 <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>
42 <div id="doc3" class="yui-t2">
46 <h1>Hold ratios to calculate items needed</h1>
47 <h3>Calculated on [% todaysdate %]. From [% from %]
49 <p>These items have a hold ratio ≥ [% ratio %].</p>
50 <div class="sql">[% sql %]</div>
52 [% IF ( reserveloop ) %]
60 <th>Holding libraries</th>
68 [% FOREACH reserveloo IN reserveloop %]
70 <td><p>[% reserveloo.reservecount %]</p></td>
71 <td><p>[% reserveloo.itemcount %]</p></td>
72 <td><p class="ratiolimit">[% reserveloo.thisratio %]</p></td>
73 <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 %]
75 <td><p>[% reserveloo.listbranch %]</p></td>
76 <td><p>[% reserveloo.location %]</p></td>
77 <td><p>[% reserveloo.itype %]</p></td>
78 <td><p>[% reserveloo.listcall %]</p></td>
79 <td>[% IF ( reserveloo.thisratio_atleast1 ) %]<p><b>[% reserveloo.ratiocalc %] to order</b></p>[% END %]</td>
85 <b>No items found.</b>
90 <form action="/cgi-bin/koha/circ/reserveratios.pl" method="post" >
91 <fieldset class="brief">
92 <h4>Refine results:</h4>
93 <ol><li><label for="ratio">
96 <input type="text" size="5" id="ratio" name="ratio" value="[% ratio %]" /></li>
97 <li><label for="from">
100 <input type="text" size="10" id="from" name="from" value="[% from %]" class="datepickerfrom" />
105 <input size="10" id="to" name="to" value="[% to %]" type="text" class="datepickerto" />
109 <fieldset class="action"><input type="submit" value="Go" class="submit"/></fieldset>
115 [% INCLUDE 'intranet-bottom.inc' %]