5 [% USE AuthorisedValues %]
6 [% USE ColumnsSettings %]
8 [% INCLUDE 'doc-head-open.inc' %]
9 <title>Koha › Circulation › Holds queue</title>
10 [% INCLUDE 'doc-head-close.inc' %]
11 <style type="text/css"> p { margin-top: 0; }</style>
12 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
13 [% INCLUDE 'datatables.inc' %]
14 [% INCLUDE 'columns_settings.inc' %]
15 <script type="text/javascript">//<![CDATA[
16 $(document).ready(function() {
19 // Setup filters before DataTables initialisation, in case some columns are
21 var filterColumnTimeoutId;
22 var filterColumn = function(e) {
23 clearTimeout(filterColumnTimeoutId);
24 filterColumnTimeoutId = setTimeout(function() {
25 var input = $(e.target);
26 var idx = input.parents('td').index();
27 holdst.api().column(idx + ':visible').search(input.val()).draw();
30 $('#holdst thead input').on('change keyup keydown', filterColumn);
32 var columns_settings = [% ColumnsSettings.GetColumns('circ', 'view_holdsqueue', 'holds-table', 'json') %];
33 var holdst = KohaTable("#holdst", {
34 "aaSorting": [[ 3, "asc" ]],
36 { "sType": "anti-the" },null,null,null,null,null,null,null,null,{ "sType": "title-string" },null
38 "sDom": 'B<"clearfix">t',
39 "bSortCellsTop": true,
47 <body id="circ_view_holdsqueue" class="circ">
48 [% INCLUDE 'header.inc' %]
49 [% INCLUDE 'cat-search.inc' %]
51 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a>
52 › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
53 › <a href="/cgi-bin/koha/circ/view_holdsqueue.pl">Holds queue</a>
54 [% IF ( run_report ) %] › Results[% END %]
57 [% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc2" class="yui-t7">[% END %]
61 [% IF Koha.Preference('CircSidebar') %]<div class="yui-b">[% END %]
66 [% IF ( run_report ) %]
68 <div class="results">[% total %] items found for
69 [% IF ( branchlimit ) %][% Branches.GetName( branchlimit ) %][% ELSE %]All libraries[% END %]
72 <div class="dialog message">No items found.</div>
74 [% IF ( itemsloop ) %]
78 <th class="hq-title">Title</th>
79 <th class="hq-collection">Collection</th>
80 <th class="hq-itemtype">Item type</th>
81 <th class="hq-callnumber">Call number</th>
82 <th class="hq-copynumber">Copy number</th>
83 <th class="hq-enumchron">Enumeration</th>
84 <th class="hq-barcode">Barcode</th>
85 <th class="hq-patron">Patron</th>
86 <th class="hq-sendto">Send to</th>
87 <th class="hq-date">Date</th>
88 <th class="hq-notes">Notes</th>
92 <span class="filter_column filter_text">
93 <input class="text_filter" type="text" placeholder="Title">
96 <td class="hq-collection">
97 <span class="filter_column filter_text">
98 <input type="text" placeholder="Collection">
101 <td class="hq-itemtype">
102 <span class="filter_column filter_text">
103 <input type="text" placeholder="Item type">
106 <td class="hq-callnumber">
107 <span class="filter_column filter_text">
108 <input type="text" placeholder="Call number">
111 <td class="hq-copynumber">
112 <span class="filter_column filter_text">
113 <input type="text" placeholder="Copy number">
116 <td class="hq-enumchron">
117 <span class="filter_column filter_text">
118 <input type="text" placeholder="Enumeration">
121 <td class="hq-barcode">
122 <span class="filter_column filter_text">
123 <input type="text" placeholder="Barcode">
126 <td class="hq-patron">
127 <span class="filter_column filter_text">
128 <input type="text" placeholder="Patron">
131 <td class="hq-sendto">
132 <span class="filter_column filter_text">
133 <input type="text" placeholder="Send to">
137 <span class="filter_column filter_text">
138 <input type="text" placeholder="Date">
141 <td class="hq-notes">
142 <span class="filter_column filter_text">
143 <input type="text" placeholder="Notes">
148 <tbody>[% FOREACH itemsloo IN itemsloop %]
150 <td class="hq-title">
151 <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itemsloo.biblionumber %]"><strong>[% itemsloo.title | html %]</strong> [% FOREACH s IN itemsloo.subtitle %] [% s %][% END %]</a></p>
153 <div class="hq-biblionumber content_hidden">[% itemsloo.biblionumber %]</div>
154 <div class="hq-author">[% itemsloo.author %]</div>
155 <div class="hq-pubdata">
156 [% IF ( itemsloo.publishercode ) %][% itemsloo.publishercode %][% END %]
158 [% IF ( itemsloo.publicationyear ) %]
159 , [% itemsloo.publicationyear %]
160 [% ELSIF ( itemsloo.copyrightdate ) %]
161 , [% itemsloo.copyrightdate %]
164 [% IF ( itemsloo.pages ) %]: [% itemsloo.pages %] [% END %]
166 [% IF ( itemsloo.item('size') ) %][% itemsloo.item('size') %][% END %]
168 [% IF ( itemsloo.isbn ) %]ISBN: [% itemsloo.isbn %][% END %]
172 <td class="hq-collection">[% AuthorisedValues.GetByCode( 'CCODE', itemsloo.ccode ) %]</td>
173 <td class="hq-itemtype">[% ItemTypes.GetDescription( itemsloo.itype ) %]</td>
174 <td class="hq-callnumber">[% IF ( itemsloo.location ) %]<em>[% AuthorisedValues.GetByCode( 'LOC', itemsloo.location ) %]</em> [% END %][% itemsloo.itemcallnumber %]</td>
175 <td class="hq-copynumber">[% itemsloo.copynumber %]</td>
176 <td class="hq-enumchron">[% itemsloo.enumchron %]</td>
177 <td class="hq-barcode">
178 [% IF ( itemsloo.item_level_request ) %]
179 <em>Only item:</em> <strong>[% itemsloo.barcode %]</strong>
181 <strong>[% itemsloo.barcode %]</strong> <em>or any available</em>
184 <td class="hq-patron">
185 [% IF Koha.Preference('HidePatronName') %]
186 <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% itemsloo.borrowernumber %]#reserves">[% itemsloo.cardnumber %]</a></p>
188 <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% itemsloo.borrowernumber %]#reserves">[% itemsloo.surname %], [% itemsloo.firstname %] ([% itemsloo.cardnumber %])</a></p>
189 <p>[% itemsloo.phone %]</p>
192 <td class="hq-sendto">[% Branches.GetName( itemsloo.pickbranch ) %]</td>
193 <td class="hq-date"><span title="[% itemsloo.reservedate %]">[% itemsloo.reservedate | $KohaDates %]</span></td>
194 <td class="hq-notes">[% itemsloo.notes %]</td>
201 [% UNLESS ( total ) %]
202 <form name="f" action="/cgi-bin/koha/circ/view_holdsqueue.pl" method="post">
203 <fieldset class="rows">
206 <label for="branchlimit">Library: </label>
207 <select name="branchlimit" id="branchlimit">
208 <option value="">All</option>
209 [% PROCESS options_for_libraries libraries => Branches.all() %]
213 <fieldset class="action"> <input type="submit" value="Submit" />
214 <input type="hidden" name="run_report" value="1" /></fieldset>
220 [% IF Koha.Preference('CircSidebar') %]
222 <div class="yui-b noprint">
223 [% INCLUDE 'circ-nav.inc' %]
227 [% INCLUDE 'intranet-bottom.inc' %]