6 [% USE TablesSettings %]
8 [% INCLUDE 'doc-head-open.inc' %]
9 <title>Holds awaiting pickup › Circulation › Koha</title>
10 [% INCLUDE 'doc-head-close.inc' %]
13 <body id="circ_waitingreserves" class="circ">
14 [% INCLUDE 'header.inc' %]
15 [% INCLUDE 'circ-search.inc' %]
17 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
20 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
23 <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
26 <a href="#" aria-current="page">Holds awaiting pickup</a>
31 <div class="main container-fluid">
33 <div class="col-sm-12">
37 [% IF Koha.Preference('CircSidebar') %]
38 <div class="col-sm-10 col-sm-push-2">
40 <div class="col-sm-12">
43 <h2>Holds awaiting pickup for your library on: [% show_date | $KohaDates %]
44 [% IF ( all_branches_link ) %]
45 <span style="margin-left:20px"><a href="[% all_branches_link | url %]">
46 View all libraries</a></span>
49 [% IF ( cancel_result ) %]
50 [% FOREACH cancel_result %]
51 [% IF ( messagetransfert ) %]
52 <div class="dialog message">
53 <h2>This item is on hold for pick-up at [% Branches.GetName( branchname ) | html %]</h2>
54 <p><strong>[% nextreservtitle | html %]</strong> is on hold for <strong> [% nextreservsurname | html %], [% nextreservfirstname | html %]</strong>.
55 Please retain this item and check it in to process the hold.
57 <form name="cancelReservewithtransfert" action="waitingreserves.pl#[% tab | html %]" method="post">
58 <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button>
63 <div class="dialog message">
64 <h2>This item is on hold for pick-up at your library</h2>
65 <p><strong>[% nextreservtitle | html %]</strong> is on hold for <strong>[% nextreservsurname | html %], [% nextreservfirstname | html %]</strong>.
66 Please retain this item and check it in to process the hold.
68 <form name="cancelReservewithwaiting" action="waitingreserves.pl#[% tab | html %]" method="post">
69 <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button>
75 <div id="resultlist" class="toptabs">
77 <li><a href="#holdswaiting">Holds waiting: [% reservecount | html %]</a></li>
80 Holds waiting over [% Koha.Preference('ReservesMaxPickUpDelay') | html %] days: [% overcount | html %]
84 <div id="holdswaiting">
85 [% IF ( reserveloop ) %]
86 [% INCLUDE waiting_holds.inc table_name='holdst' reserveloop=reserveloop tab='holdwaiting' %]
88 <div class="dialog message">No holds found.</div>
92 [% IF ( ReservesMaxPickUpDelay ) %]<p>Holds listed here have been awaiting pickup for more than [% ReservesMaxPickUpDelay | html %] days.</p>[% END %]
94 <span id="holdsover-cancel-all">
95 <form name="cancelAllReserve" action="waitingreserves.pl" method="post">
96 <input type="hidden" name="cancelall" value="1" />
97 <input type="hidden" name="allbranches" value="[% allbranches | html %]" />
98 <input type="hidden" name="tab" value="holdsover">
99 [% IF TransferWhenCancelAllWaitingHolds %]
100 <input type="submit" value="Cancel and Transfer all" />
102 <input type="submit" value="Cancel all" />
105 [% UNLESS TransferWhenCancelAllWaitingHolds %]
106 Only items that need not be transferred will be cancelled (TransferWhenCancelAllWaitingHolds syspref)
109 [% INCLUDE waiting_holds.inc table_name='holdso' reserveloop=overloop tab='holdsover' %]
111 <div class="dialog message">No holds found.</div>
117 [% IF Koha.Preference('CircSidebar') %]
118 </div> <!-- /.col-sm-10.col-sm-push-2 -->
119 <div class="col-sm-2 col-sm-pull-10">
121 [% INCLUDE 'circ-nav.inc' %]
123 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
124 </div> <!-- /.row -->
128 </div> <!-- /.col-sm-12 -->
129 </div> <!-- /.row -->
131 [% MACRO jsinclude BLOCK %]
132 [% INCLUDE 'datatables.inc' %]
133 [% INCLUDE 'columns_settings.inc' %]
135 var holdst_columns_settings = [% TablesSettings.GetColumns( 'circ', 'holds_awaiting_pickup', 'holdst', 'json' ) | $raw %];
136 var holdso_columns_settings = [% TablesSettings.GetColumns( 'circ', 'holds_awaiting_pickup', 'holdso', 'json' ) | $raw %];
138 $(document).ready(function() {
140 KohaTable("holdst", {
141 "sPaginationType": "full"
142 }, holdst_columns_settings);
144 KohaTable("holdso", {
145 "sPaginationType": "full"
146 }, holdso_columns_settings);
148 $('#resultlist').tabs();
154 [% INCLUDE 'intranet-bottom.inc' %]