7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>Koha › Circulation › Holds awaiting pickup</title>
9 [% INCLUDE 'doc-head-close.inc' %]
10 [% Asset.css("css/datatables.css") | $raw %]
13 <body id="circ_waitingreserves" class="circ">
14 [% INCLUDE 'header.inc' %]
15 [% INCLUDE 'circ-search.inc' %]
17 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a>
18 › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
19 › <a href="/cgi-bin/koha/circ/waitingreserves.pl">Holds awaiting pickup</a>
22 <div class="main container-fluid">
24 <div class="col-sm-12">
28 [% IF Koha.Preference('CircSidebar') %]
29 <div class="col-sm-10 col-sm-push-2">
31 <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
34 <h2>Holds awaiting pickup for your library on: [% show_date | $KohaDates %]
35 [% IF ( all_branches_link ) %]
36 <span style="margin-left:20px"><a href="[% all_branches_link | url %]">
37 View all libraries</a></span>
40 [% IF ( cancel_result ) %]
41 [% FOREACH cancel_result %]
42 [% IF ( messagetransfert ) %]
43 <div class="dialog message">
44 <h2>This item is on hold for pick-up at [% Branches.GetName( branchname ) | html %]</h2>
45 <p><strong>[% nextreservtitle | html %]</strong> is on hold for <strong> [% nextreservsurname | html %], [% nextreservfirstname | html %]</strong>.
46 Please retain this item and check it in to process the hold.
48 <form name="cancelReservewithtransfert" action="waitingreserves.pl#[% tab | html %]" method="post">
49 <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button>
54 <div class="dialog message">
55 <h2>This item is on hold for pick-up at your library</h2>
56 <p><strong>[% nextreservtitle | html %]</strong> is on hold for <strong>[% nextreservsurname | html %], [% nextreservfirstname | html %]</strong>.
57 Please retain this item and check it in to process the hold.
59 <form name="cancelReservewithwaiting" action="waitingreserves.pl#[% tab | html %]" method="post">
60 <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button>
66 <div id="resultlist" class="toptabs">
68 <li><a href="#holdswaiting">Holds waiting: [% reservecount | html %]</a></li>
71 Holds waiting over [% Koha.Preference('ReservesMaxPickUpDelay') | html %] days: [% overcount | html %]
75 <div id="holdswaiting">
76 [% IF ( reserveloop ) %]
77 [% INCLUDE waiting_holds.inc table_name='holdst' reserveloop=reserveloop %]
79 <div class="dialog message">No holds found.</div>
83 [% IF ( ReservesMaxPickUpDelay ) %]<p>Holds listed here have been awaiting pickup for more than [% ReservesMaxPickUpDelay | html %] days.</p>[% END %]
85 <form name="cancelAllReserve" action="waitingreserves.pl" method="post">
86 <input type="hidden" name="cancelall" value="1" />
87 <input type="hidden" name="allbranches" value="[% allbranches | html %]" />
88 <input type="hidden" name="tab" value="holdsover">
89 [% IF TransferWhenCancelAllWaitingHolds %]
90 <input type="submit" value="Cancel and Transfer all" />
92 <input type="submit" value="Cancel all" />
95 [% UNLESS TransferWhenCancelAllWaitingHolds %]
96 Only items that need not be transferred will be cancelled (TransferWhenCancelAllWaitingHolds sypref)
99 [% INCLUDE waiting_holds.inc table_name='holdso' reserveloop=overloop %]
101 <div class="dialog message">No holds found.</div>
107 [% IF Koha.Preference('CircSidebar') %]
108 </div> <!-- /.col-sm-10.col-sm-push-2 -->
109 <div class="col-sm-2 col-sm-pull-10">
111 [% INCLUDE 'circ-nav.inc' %]
113 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
114 </div> <!-- /.row -->
118 </div> <!-- /.col-sm-12 -->
119 </div> <!-- /.row -->
121 [% MACRO jsinclude BLOCK %]
122 [% INCLUDE 'datatables.inc' %]
124 $(document).ready(function() {
125 $('#resultlist').tabs();
127 $("#holdst,#holdso").dataTable($.extend(true, {}, dataTablesDefaults, {
129 { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
130 { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
131 { "sType": "title-string", "aTargets" : [ "title-string" ] }
133 "sPaginationType": "four_button"
139 [% INCLUDE 'intranet-bottom.inc' %]