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 [% IF (dateformat == 'metric') %]
13 dt_add_type_uk_date();
15 var holdst = $("#holdst").dataTable($.extend(true, {}, dataTablesDefaults, {
17 holdst.fnAddFilters("filter");
18 function createSelect( data ) {
19 var r='<select style="width:99%"><option value="">None</option>', i, len=data.length;
20 for ( i=0 ; i<len ; i++ ) {
21 r += '<option value="'+data[i]+'">'+data[i]+'</option>';
25 $("#homebranchfilter").each( function () {
26 $(this).html( createSelect( holdst.fnGetColumnData(4) ) );
27 $('select', this).change( function () {
28 holdst.fnFilter( $(this).val(), 4 );
31 $("#itypefilter").each( function () {
32 $(this).html( createSelect( holdst.fnGetColumnData(8) ) );
33 $('select', this).change( function () {
34 holdst.fnFilter( $(this).val(), 8 );
37 $("#locationfilter").each( function () {
38 $(this).html( createSelect( holdst.fnGetColumnData(9) ) );
39 $('select', this).change( function () {
40 holdst.fnFilter( $(this).val(), 9 );
47 <body id="circ_pendingreserves" class="circ">
48 [% INCLUDE 'header.inc' %]
49 [% 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> › Holds to pull</div>
54 <div id="doc3" class="yui-t2">
60 <h2>Holds to pull[% IF ( run_report ) %] placed between [% from %] and [% to %][% END %]</h2>
61 [% IF ( run_report ) %]
62 <h3>Reported on [% todaysdate %]</h3>
63 <p>The following holds have not been filled. Please retrieve them and check them in.</p>
64 <div class="searchresults">
65 [% IF ( reserveloop ) %]
69 <th>Pull this many items</th>
70 <th>Items available</th>
71 <th>Patrons with holds</th>
74 <th>Available call numbers</th>
75 <th>Available copy No</th>
76 <th>Available enumeration</th>
77 <th>Available itypes</th>
78 <th>Available locations</th>
79 <th>Earliest hold date</th>
83 [% FOREACH reserveloo IN reserveloop %]
85 [% IF ( reserveloo.borrowernumber ) %]
86 <td><p><b>[% reserveloo.pullcount %]</b></p></td>
87 <td>[% reserveloo.count %]</td>
88 <td>[% reserveloo.rcount %]</td>
91 [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
92 [% reserveloo.title |html %]
93 </a> [% IF ( reserveloo.author ) %]<p> by [% reserveloo.author %]</p>[% END %]
102 <td>[% reserveloo.holdingbranch %]</td>
103 <td><p>[% reserveloo.itemcallnumber %]</p></td>
104 <td><p>[% reserveloo.copyno %]</p></td>
105 <td><p>[% reserveloo.enumchron %]</p></td>
106 <td>[% reserveloo.itype %]</td>
107 <td>[% reserveloo.location %]</td>
109 <p>[% reserveloo.reservedate %]</p>
110 <p>in [% reserveloo.branch %]</p>
111 [% IF ( reserveloo.statusw ) %]<p>Waiting</p>[% END %][% IF ( reserveloo.statusf ) %]<p>Fullfilled</p>[% END %]
118 <td><input type="text" class="filter" data-column_num="0" placeholder="Pull this many items" style="width:95%"/></td>
119 <td><input type="text" class="filter" data-column_num="1" placeholder="Items available" style="width:95%"/></td>
120 <td><input type="text" class="filter" data-column_num="2" placeholder="Patron holds" style="width:95%"/></td>
121 <td><input type="text" class="filter" data-column_num="3" placeholder="Title" style="width:95%"/></td>
122 <td id="homebranchfilter"></td>
123 <td><input type="text" class="filter" data-column_num="5" placeholder="Call number" style="width:95%"/></td>
124 <td><input type="text" class="filter" data-column_num="6" placeholder="Available copy" style="width:95%"/></td>
125 <td><input type="text" class="filter" data-column_num="7" placeholder="Available enumeration" style="width:95%"/></td>
126 <td id="itypefilter"></td>
127 <td id="locationfilter"></td>
133 <b>No items found.</b>
143 <form action="/cgi-bin/koha/circ/pendingreserves.pl" method="post" >
144 <fieldset class="brief">
145 <h4>Refine results</h4>
151 <input type="text" size="10" id="from" name="from" value="[% from %]" class="datepickerfrom" />
156 <input type="text" size="10" id="to" name="to" value="[% to %]" class="datepickerto" />
159 <p><i>(Inclusive, default is [% HoldsToPullStartDate %] days ago to today, set other date ranges as needed. )</i></p>
160 <fieldset class="action"><input type="submit" name="run_report" value="Submit" class="submit"/></fieldset>
167 [% INCLUDE 'intranet-bottom.inc' %]