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 [% INCLUDE 'datatables.inc' %]
7 <script type="text/javascript">
9 $(document).ready(function() {
10 $(".ratiolimit").click(function () {
11 $("#ratio").val($(this).html());
13 $(".ratiolimit").hover(
14 function () { $(this).toggleClass("ulined") },
15 function () { $(this).toggleClass("ulined") }
17 $("#holdst").dataTable($.extend(true, {}, dataTablesDefaults, {
18 "aaSorting": [ [2,'desc'], [3,'asc'] ],
20 { "aTargets": [ 0,1,2,8 ], "sType": "natural" },
21 { "aTargets": [ 3 ], "sType": "anti-the" },
23 "sPaginationType": "four_button"
28 <style type="text/css">
29 .sql { display: none; }
30 .ulined { text-decoration: underline; }
31 .ratiolimit { color: blue; cursor: pointer; }
34 <body id="circ_reserveratios" class="circ">
35 [% INCLUDE 'header.inc' %]
36 [% INCLUDE 'circ-search.inc' %]
38 <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>
40 <div id="doc3" class="yui-t2">
44 <h1>Hold ratios to calculate items needed</h1>
45 <h3>Calculated on [% todaysdate %]. From [% from %]
47 <p>These items have a hold ratio ≥ [% ratio %].</p>
48 <div class="sql">[% sql %]</div>
50 [% IF ( reserveloop ) %]
58 <th>Holding libraries</th>
66 [% FOREACH reserveloo IN reserveloop %]
68 <td><p>[% reserveloo.reservecount %]</p></td>
69 <td><p>[% reserveloo.itemcount %]</p></td>
70 <td><p class="ratiolimit">[% reserveloo.thisratio %]</p></td>
71 <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 %]
73 <td><p>[% reserveloo.listbranch %]</p></td>
74 <td><p>[% reserveloo.location %]</p></td>
75 <td><p>[% reserveloo.itype %]</p></td>
76 <td><p>[% reserveloo.listcall %]</p></td>
77 <td>[% IF ( reserveloo.thisratio_atleast1 ) %]<p>[% IF ( CAN_user_acquisition && basketno && booksellerid ) %]<!-- [% reserveloo.ratiocalc %] --><a href="/cgi-bin/koha/acqui/neworderempty.pl?biblionumber=[% reserveloo.biblionumber %]&booksellerid=[% booksellerid %]&basketno=[% basketno %]&rr_quantity_to_order=[% reserveloo.ratiocalc %]">[% END %]<b>[% reserveloo.ratiocalc %] to order</b>[% IF ( CAN_user_acquisition && basketno && booksellerid ) %]</a>[% END %]
78 [% IF ( reserveloo.pendingorders ) %]<br><b>[% reserveloo.pendingorders %] pending</b>[% END %]</p>[% END %]</td>
84 <b>No items found.</b>
89 <form action="/cgi-bin/koha/circ/reserveratios.pl" method="post" >
90 <fieldset class="brief">
91 <h4>Refine results:</h4>
92 <ol><li><label for="ratio">
95 <input type="text" size="5" id="ratio" name="ratio" value="[% ratio %]" /></li>
96 <li><label for="from">
99 <input type="text" size="10" id="from" name="from" value="[% from %]" class="datepickerfrom" />
104 <input size="10" id="to" name="to" value="[% to %]" type="text" class="datepickerto" />
108 <fieldset class="action"><input type="submit" value="Go" class="submit"/></fieldset>
110 [% IF ( CAN_user_acquisition && basketno && booksellerid ) %]
111 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
112 <input type="hidden" name="basketno" value="[% basketno %]" />
118 [% INCLUDE 'intranet-bottom.inc' %]