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, {
20 "aaSorting": [ [0,'desc'], [3,'asc'] ],
22 { "aTargets": [ 8 ], "sType": "natural" }
28 { "sType": "anti-the" },
35 "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]],
37 "sPaginationType": "four_button"
42 <style type="text/css">
43 .sql { display: none; }
44 .ulined { text-decoration: underline; }
45 .ratiolimit { color: blue; cursor: pointer; }
48 <body id="circ_reserveratios" class="circ">
49 [% INCLUDE 'header.inc' %]
50 [% INCLUDE 'circ-search.inc' %]
52 <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>
54 <div id="doc3" class="yui-t2">
58 <h1>Hold ratios to calculate items needed</h1>
59 <h3>Calculated on [% todaysdate %]. From [% from %]
61 <p>These items have a hold ratio ≥ [% ratio %].</p>
62 <div class="sql">[% sql %]</div>
64 [% IF ( reserveloop ) %]
72 <th>Holding libraries</th>
80 [% FOREACH reserveloo IN reserveloop %]
82 <td><p>[% reserveloo.reservecount %]</p></td>
83 <td><p>[% reserveloo.itemcount %]</p></td>
84 <td><p class="ratiolimit">[% reserveloo.thisratio %]</p></td>
85 <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 %]
87 <td><p>[% reserveloo.listbranch %]</p></td>
88 <td><p>[% reserveloo.location %]</p></td>
89 <td><p>[% reserveloo.itype %]</p></td>
90 <td><p>[% reserveloo.listcall %]</p></td>
91 <td>[% IF ( reserveloo.thisratio_atleast1 ) %]<p><b>[% reserveloo.ratiocalc %] to order</b></p>[% END %]</td>
97 <b>No items found.</b>
102 <form action="/cgi-bin/koha/circ/reserveratios.pl" method="post" >
103 <fieldset class="brief">
104 <h4>Refine results:</h4>
105 <ol><li><label for="ratio">
108 <input type="text" size="5" id="ratio" name="ratio" value="[% ratio %]" /></li>
109 <li><label for="from">
112 <input type="text" size="10" id="from" name="from" value="[% from %]" class="datepickerfrom" />
117 <input size="10" id="to" name="to" value="[% to %]" type="text" class="datepickerto" />
121 <fieldset class="action"><input type="submit" value="Go" class="submit"/></fieldset>
127 [% INCLUDE 'intranet-bottom.inc' %]