2 [% USE KohaAuthorisedValues %]
3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha › Circulation › Holds queue</title>
5 [% INCLUDE 'doc-head-close.inc' %]
6 <style type="text/css"> p { margin-top: 0; }</style>
8 <body id="circ_view_holdsqueue" class="circ">
9 [% INCLUDE 'header.inc' %]
10 [% INCLUDE 'cat-search.inc' %]
11 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/en/css/datatables.css" />
12 <script type="text/javascript" src="[% interface %]/[% theme %]/en/lib/jquery/plugins/jquery.dataTables.min.js"></script>
13 [% INCLUDE 'datatables-strings.inc' %]
14 <script type="text/javascript" src="[% interface %]/[% theme %]/en/js/datatables.js"></script>
15 <script type="text/javascript">//<![CDATA[
16 $(document).ready(function() {
17 $("#holdst").dataTable({
18 "aaSorting": [[ 3, "asc" ]],
20 "bLengthChange": false,
30 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a>
31 › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
32 › <a href="/cgi-bin/koha/circ/view_holdsqueue.pl">Holds queue</a>
33 [% IF ( run_report ) %] › Results[% END %]
36 <div id="doc" class="yui-t7">
44 [% IF ( run_report ) %]
46 <div class="results">[% total %] items found for
47 [% IF ( branchlimit ) %][% branchlimit %][% ELSE %]ALL libraries[% END %]
50 <div class="dialog message">No items found.</div>
52 [% IF ( itemsloop ) %]
56 <th class="hq-title">Title</th>
57 <th class="hq-collection">Collection</th>
58 <th class="hq-itemtype">Item type</th>
59 <th class="hq-callnumber">Call number</th>
60 <th class="hq-copynumber">Copy number</th>
61 <th class="hq-enumchron">Enumeration</th>
62 <th class="hq-barcode">Barcode</th>
63 <th class="hq-patron">Patron</th>
64 <th class="hq-sendto">Send to</th>
65 <th class="hq-date">Date</th>
66 <th class="hq-notes">Notes</th>
69 <tbody>[% FOREACH itemsloo IN itemsloop %]
71 <td class="hq-title"><p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itemsloo.biblionumber %]"><strong>[% itemsloo.title |html %]</strong> [% IF ( itemsloo.subtitle ) %][% itemsloo.subtitle %][% END %]</a></p>
72 <p><strong>[% itemsloo.author %]</strong>
73 <div class="hq-pubdata"> [% IF ( itemsloo.publishercode ) %][% itemsloo.publishercode %][% END %]
74 [% IF ( itemsloo.publicationyear ) %], [% itemsloo.publicationyear %]
75 [% ELSIF ( itemsloo.copyrightdate ) %], [% itemsloo.copyrightdate %][% END %]
76 [% IF ( itemsloo.pages ) %]: [% itemsloo.pages %] [% END %]
77 [% IF ( itemsloo.size ) %][% itemsloo.size %][% END %] [% IF ( itemsloo.isbn ) %]ISBN: [% itemsloo.isbn %][% END %]</p>
80 <td class="hq-collection">[% KohaAuthorisedValues.GetByCode( 'CCODE', itemsloo.ccode ) %]</td>
81 <td class="hq-itemtype">[% ItemTypes.GetDescription( itemsloo.itype ) %]</td>
82 <td class="hq-callnumber">[% itemsloo.location %] [% itemsloo.itemcallnumber %]</td>
83 <td class="hq-copynumber">[% itemsloo.copynumber %]</td>
84 <td class="hq-enumchron">[% itemsloo.enumchron %]</td>
85 <td class="hq-barcode">
86 [% IF ( itemsloo.item_level_request ) %]
87 <em>Only Item:</em> <strong>[% itemsloo.barcode %]</strong>
89 <strong>[% itemsloo.barcode %]</strong> <em>or any available</em>
92 <td class="hq-patron"><p><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% itemsloo.cardnumber %]#reserves">[% itemsloo.surname %], [% itemsloo.firstname %] ([% itemsloo.cardnumber %])</a></p> <p>[% itemsloo.phone %]</p></td>
93 <td class="hq-sendto">[% itemsloo.pickbranch %]</td>
94 <td class="hq-date">[% itemsloo.reservedate %]</td>
95 <td class="hq-notes">[% itemsloo.notes %]</td>
102 [% UNLESS ( total ) %]
103 <form name="f" action="/cgi-bin/koha/circ/view_holdsqueue.pl" method="post">
104 <fieldset class="rows">
106 <li><label for="branchlimit">Library: </label><select name="branchlimit" id="branchlimit">
107 <option value="">All</option>
108 [% FOREACH branchloo IN branchloop %]
109 [% IF ( branchloo.selected ) %]<option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>
111 <option value="[% branchloo.value %]">[% branchloo.branchname %]</option>
115 <!-- FIXME Not working yet
116 <li><label for="itemtypeslimit">Item Type: </label><select name="itemtypeslimit" id="itemtypeslimit">
117 <option value="">All</option>
118 [% FOREACH itemtypeloo IN itemtypeloop %]
119 [% IF ( itemtypeloo.selected ) %]<option value="[% itemtypeloo.value %]" selected="selected">[% itemtypeloo.description %]</option>
121 <option value="[% itemtypeloo.value %]">[% itemtypeloo.description %]</option>
127 <fieldset class="action"> <input type="submit" value="Submit" />
128 <input type="hidden" name="run_report" value="1" /></fieldset>
135 [% INCLUDE 'intranet-bottom.inc' %]