1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Circulation › Holds to pull</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% INCLUDE 'calendar.inc' %]
5 <!-- Plugin datatables -->
6 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
7 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
8 <script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
9 <script type="text/JavaScript" language="JavaScript">
11 $(document).ready(function() {
12 var holdst = $("#holdst").dataTable($.extend(true, {}, dataTablesDefaults, {
14 holdst.fnAddFilters("filter");
15 function createSelect( data ) {
16 var r='<select style="width:99%"><option value="">None</option>', i, len=data.length;
17 for ( i=0 ; i<len ; i++ ) {
18 r += '<option value="'+data[i]+'">'+data[i]+'</option>';
22 $("#homebranchfilter").each( function () {
23 $(this).html( createSelect( holdst.fnGetColumnData(4) ) );
24 $('select', this).change( function () {
25 holdst.fnFilter( $(this).val(), 4 );
28 $("#itypefilter").each( function () {
29 $(this).html( createSelect( holdst.fnGetColumnData(8) ) );
30 $('select', this).change( function () {
31 holdst.fnFilter( $(this).val(), 8 );
34 $("#locationfilter").each( function () {
35 $(this).html( createSelect( holdst.fnGetColumnData(9) ) );
36 $('select', this).change( function () {
37 holdst.fnFilter( $(this).val(), 9 );
44 <body id="circ_pendingreserves" class="circ">
45 [% INCLUDE 'header.inc' %]
46 [% INCLUDE 'circ-search.inc' %]
49 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> › Holds to pull</div>
51 <div id="doc3" class="yui-t2">
57 <h2>Holds to pull[% IF ( run_report ) %] placed between [% from %] and [% to %][% END %]</h2>
58 [% IF ( run_report ) %]
59 <h3>Reported on [% todaysdate %]</h3>
60 <p>The following holds have not been filled. Please retrieve them and check them in.</p>
61 <div class="searchresults">
62 [% IF ( reserveloop ) %]
66 <th>Pull this many items</th>
67 <th>Items available</th>
68 <th>Patrons with holds</th>
71 <th>Available call numbers</th>
72 <th>Available copy No</th>
73 <th>Available enumeration</th>
74 <th>Available itypes</th>
75 <th>Available locations</th>
76 <th>Earliest hold date</th>
80 [% FOREACH reserveloo IN reserveloop %]
82 [% IF ( reserveloo.borrowernumber ) %]
83 <td><p><b>[% reserveloo.pullcount %]</b></p></td>
84 <td>[% reserveloo.count %]</td>
85 <td>[% reserveloo.rcount %]</td>
88 [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
89 [% reserveloo.title |html %]
90 </a> [% IF ( reserveloo.author ) %]<p> by [% reserveloo.author %]</p>[% END %]
99 <td>[% reserveloo.holdingbranch %]</td>
100 <td><p>[% reserveloo.itemcallnumber %]</p></td>
101 <td><p>[% reserveloo.copyno %]</p></td>
102 <td><p>[% reserveloo.enumchron %]</p></td>
103 <td>[% reserveloo.itype %]</td>
104 <td>[% reserveloo.location %]</td>
106 <p>[% reserveloo.reservedate %]</p>
107 <p>in [% reserveloo.branch %]</p>
108 [% IF ( reserveloo.statusw ) %]<p>Waiting</p>[% END %][% IF ( reserveloo.statusf ) %]<p>Fullfilled</p>[% END %]
115 <td><input type="text" class="filter" data-column_num="0" placeholder="Pull this many items" style="width:95%"/></td>
116 <td><input type="text" class="filter" data-column_num="1" placeholder="Items available" style="width:95%"/></td>
117 <td><input type="text" class="filter" data-column_num="2" placeholder="Patron holds" style="width:95%"/></td>
118 <td><input type="text" class="filter" data-column_num="3" placeholder="Title" style="width:95%"/></td>
119 <td id="homebranchfilter"></td>
120 <td><input type="text" class="filter" data-column_num="5" placeholder="Call number" style="width:95%"/></td>
121 <td><input type="text" class="filter" data-column_num="6" placeholder="Available copy" style="width:95%"/></td>
122 <td><input type="text" class="filter" data-column_num="7" placeholder="Available enumeration" style="width:95%"/></td>
123 <td id="itypefilter"></td>
124 <td id="locationfilter"></td>
130 <b>No items found.</b>
140 <form action="/cgi-bin/koha/circ/pendingreserves.pl" method="post" >
141 <fieldset class="brief">
142 <h4>Refine results</h4>
148 <input type="text" size="10" id="from" name="from" value="[% from %]" class="datepickerfrom" />
153 <input type="text" size="10" id="to" name="to" value="[% to %]" class="datepickerto" />
156 <p><i>(Inclusive, default is [% HoldsToPullStartDate %] days ago to today, set other date ranges as needed. )</i></p>
157 <fieldset class="action"><input type="submit" name="run_report" value="Submit" class="submit"/></fieldset>
164 [% INCLUDE 'intranet-bottom.inc' %]