4 [% IF ( export_remove_fields OR export_with_csv_profile ) %]
5 [% SET exports_enabled = 1 %]
7 [% USE AuthorisedValues %]
8 [% INCLUDE 'doc-head-open.inc' %]
9 [% SET destination = "circ" %]
10 <title>Koha › Circulation
11 [% IF borrowernumber and borrower %]
12 › Batch check out › Issuing items to [% INCLUDE 'patron-title.inc' invert_name = 1 %]
15 [% INCLUDE 'doc-head-close.inc' %]
16 [% INCLUDE 'calendar.inc' %]
17 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
18 [% INCLUDE 'datatables.inc' %]
19 <script type="text/javascript">
21 $(document).ready(function() {
22 if($('#barcodelist').length) {
23 $('#barcodelist').focus();
24 } else if ($('#checkoutrenew').length) {
25 $('#checkoutrenew').focus();
27 $("#checkout_infos").dataTable($.extend(true, {}, dataTablesDefaults, {
31 { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
32 { "sType": "anti-the", "aTargets" : [ "anti-the" ] }
40 <body id="circ_circulation_batch_checkouts" class="circ">
42 [% INCLUDE 'header.inc' %]
43 [% INCLUDE 'circ-search.inc' %]
45 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> ›
46 [% IF borrower and borrowernumber %]
47 <a href="/cgi-bin/koha/circ/circulation.pl">Batch check out</a> › [% INCLUDE 'patron-title.inc' %]
52 <div id="doc3" class="yui-t2">
60 [% IF borrowernumber and borrower %]
61 [% INCLUDE 'members-toolbar.inc' %]
64 [% IF borrower and not batch_allowed %]
65 <div class="dialog alert">You are not allowed to use batch checkout for this patron</div>
66 [% ELSIF borrower and noissues and not checkout_infos %]
67 <div class="dialog alert">
69 [% IF charges_is_blocker %]
70 <span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span>
72 [% IF charges_guarantees_is_blocker %]
74 <span class="circ-hlt">Fees & Charges:</span> Patron's guarantees collectively owe [% chargesamount_guarantees | $Price %].
77 <span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span>
81 [% ELSIF borrower and not checkout_infos %]
82 <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/circ/circulation.pl">
83 <fieldset id="circ_circulation_issue">
84 <label for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label>
85 <fieldset class="rows">
86 <legend>Use a file</legend>
88 <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li>
91 <fieldset class="rows">
92 <legend>Or list barcodes one by one</legend>
95 <label for="barcodelist">Barcode list (one barcode per line): </label>
96 <textarea rows="10" cols="30" id="barcodelist" name="barcodelist"></textarea>
100 <input type="hidden" name="op" value="show" />
101 <fieldset class="action">
102 <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" />
103 <input type="hidden" name="branch" value="[% branch %]" />
104 <input type="hidden" name="batch" value="1" />
105 <input type="submit" value="Check out" class="button" />
111 [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
112 <h3>Batch checkout confirmation [% IF borrowernumber %] for [% INCLUDE 'patron-title.inc' invert_name = 1 %] [% END %]</h3>
113 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
115 <h3>Batch checkout information [% IF borrowernumber %] for [% INCLUDE 'patron-title.inc' invert_name = 1 %] [% END %]</h3>
117 <table id="checkout_infos">
120 [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
121 <th class="NoSort"></th>
124 <th class="anti-the">Title</th>
129 [% FOR checkout_info IN checkout_infos %]
131 [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
133 [% IF checkout_info.NEEDSCONFIRMATION %]
134 <input type="checkbox" name="barcodes" value="[% checkout_info.barcode %]" checked="checked" />
138 <td>[% checkout_info.barcode %]</td>
140 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% checkout_info.item.biblionumber %]&type=intra"><strong>[% checkout_info.item.title |html %][% FOREACH subtitl IN checkout_info.item.subtitle %] [% subtitl.subfield %][% END %]</strong></a>[% IF checkout_info.item.author %], by [% checkout_info.item.author %][% END %][% IF ( checkout_info.itme.itemnotes ) %]- <span class="circ-hlt">[% checkout_info.item.itemnotes %]</span>[% END %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% checkout_info.item.biblionumber %]&itemnumber=[% checkout_info.item.itemnumber %]#item[% checkout_info.item.itemnumber %]">[% checkout_info.item.barcode %]</a>
143 [% IF checkout_info.NEEDSCONFIRMATION %]
144 <ul class="fa-ul warn">
145 [% IF checkout_info.AGE_RESTRICTION %]
146 <li><i class="fa fa-li fa-warning"></i>Age restriction [% checkout_info.AGE_RESTRICTION %].</li>
148 [% IF checkout_info.RENEW_ISSUE %]
149 <li><i class="fa fa-li fa-warning"></i>This item is currently checked out to this patron. Renew?</li>
151 [% IF checkout_info.RESERVE_WAITING %]
152 <li><i class="fa fa-li fa-warning"></i>This item is waiting for another patron.</li>
154 [% IF checkout_info.RESERVED %]
155 <li><i class="fa fa-li fa-warning"></i>This item is on hold for another patron.</li>
157 [% IF checkout_info.ISSUED_TO_ANOTHER %]
158 <li><i class="fa fa-li fa-warning"></i>This item is checked out to another patron.
159 [% IF CAN_user_circulate_force_checkout %]
160 Check in and check out?
163 [% IF checkout_info.TOO_MANY %]
164 <li><i class="fa fa-li fa-warning"></i>Too many checked out.</li>
166 [% IF checkout_info.BORRNOTSAMEBRANCH %]
167 <li><i class="fa fa-li fa-warning"></i>This patron is from a different library ([% checkout_info.BORRNOTSAMEBRANCH %]).</li>
169 [% IF checkout_ino.PATRON_CANT %]
170 <li><i class="fa fa-li fa-warning"></i>This patron can't check out this item per library circulation policy.</li>
172 [% IF checkout_info.NOT_FOR_LOAN_FORCING %]
173 [% IF checkout_info.itemtype_notforloan %]
174 <li><i class="fa fa-li fa-warning"></i>Item type is normally not for loan.</li>
175 [% ELSIF checkout_info.item_notforloan %]
176 [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, checkout_info.item_notforloan, 0 ) %]
177 <li><i class="fa fa-li fa-warning"></i>Item is normally not for loan [% IF item_notforloan_lib %]([% item_notforloan_lib %])[% END %].</li>
180 [% IF checkout_info.USERBLOCKEDOVERDUE %]
181 <li><i class="fa fa-li fa-warning"></i>Patron has [% checkout_info.USERBLOCKEDOVERDUE %] overdue item(s).</li>
183 [% IF checkout_info.ITEM_LOST %]
184 <li><i class="fa fa-li fa-warning"></i>This item has been lost with a status of "[% checkout_info.ITEM_LOST %]."</li>
186 [% IF checkout_info.HIGHHOLDS %]
187 <li><i class="fa fa-li fa-warning"></i>High demand item. Loan period shortened to [% checkout_info.HIGHHOLDS.duration %] days (due [% checkout_info.HIGHHOLDS.returndate %]).</li>
189 [% IF checkout_info.HIGHHOLDS %] <!-- FIXME -->
190 <script type="text/javascript">
191 $(document).ready(function() {
192 $("input[name=duedatespec]:hidden").val('[% checkout_info.HIGHHOLDS.returndate %]');
197 [% IF NOT checkout_info.IMPOSSIBLE && ( CAN_user_circulate_force_checkout or checkout_info.HIGHHOLDS ) %]
198 [% IF checkout_info.RESERVED || checkout_info.RESERVE_WAITING %] <!-- arbitrary choice, revert the reserve is not possible-->
199 <li><i class="fa fa-li fa-warning"></i>This item is on hold for another patron. The hold will be overridden, but not cancelled.</li>
206 [% IF checkout_info.alert.ITEM_LOST || checkout_info.alert.OTHER_CHARGES %]
208 [% IF checkout_info.alert.ITEM_LOST %]
209 <li>This item has been lost with a status of "[% checkout_info.alert.ITEM_LOST %]."</li>
211 [% IF checkout_info.alert.OTHER_CHARGES %]
212 <li>The patron has unpaid charges for holds, rentals etc of [% checkout_info.alert.OTHER_CHARGES %].</li>
218 [% IF checkout_info.IMPOSSIBLE %]
219 <ul class="fa-ul error">
220 [% IF checkout_info.STATS %]
221 <li><i class="fa fa-li fa-exclamation"></i>Local use recorded.</li>
224 [% IF checkout_info.NOT_FOR_LOAN %]
225 [% IF checkout_info.itemtype_notforloan %]
226 <li><i class="fa fa-li fa-exclamation"></i>Item type not for loan.</li>
227 [% ELSIF checkout_info.item_notforloan %]
228 [% item_notforloan_lib = AuthorisedValues.GetByCode( checkout_info.authvalcode_notforloan, checkout_info.item_notforloan, 0 ) %]
229 <li><i class="fa fa-li fa-exclamation"></i>Item not for loan [% IF checkout_info.item_notforloan_lib %]([% checkout_info.item_notforloan_lib %])[% END %].</li>
232 [% IF checkout_info.WTHDRAWN %]
233 <li><i class="fa fa-li fa-exclamation"></i>Item has been withdrawn.</li>
235 [% IF checkout_info.RESTRICTED %]
236 <li><i class="fa fa-li fa-exclamation"></i>Item is restricted.</li>
238 [% IF checkout_info.GNA %]
239 <li><i class="fa fa-li fa-exclamation"></i>Patron's address is in doubt.</li>
241 [% IF checkout_info.CARD_LOST %]
242 <li><i class="fa fa-li fa-exclamation"></i>Patron's card is lost.</li>
244 [% IF checkout_info.DEBARRED %]
245 <li><i class="fa fa-li fa-exclamation"></i>Patron is restricted.</li>
247 [% IF checkout_info.NO_MORE_RENEWALS %]
248 <li><i class="fa fa-li fa-exclamation"></i>No more renewals possible.</li>
250 [% IF checkout_info.EXPIRED %]
251 <li><i class="fa fa-li fa-exclamation"></i>Patron's card is expired.</li>
253 [% IF checkout_info.ITEMNOTSAMEBRANCH %]
254 <li><i class="fa fa-li fa-exclamation"></i>This item belongs to [% Branches.GetName( checkout_info.itemhomebranch ) %] and cannot be checked out from this location.</li>
256 [% IF checkout_info.USERBLOCKEDREMAINING %]
257 <li><i class="fa fa-li fa-exclamation"></i>Patron has had overdue items and is blocked for [% checkout_info.USERBLOCKEDREMAINING %] day(s).</li>
259 [% IF checkout_info.USERBLOCKEDOVERDUE %]
260 <li><i class="fa fa-li fa-exclamation"></i>Checkouts are BLOCKED because patron has overdue items.</li>
262 [% IF checkout_info.TOO_MANY %]
263 <li><i class="fa fa-li fa-exclamation"></i>Too many checked out.</li>
265 [% IF checkout_info.UNKNOWN_BARCODE %]
266 <li><i class="fa fa-li fa-exclamation"></i>The barcode was not found [% checkout_info.barcode |html %].</li>
268 [% IF checkout_info.DEBT %]
269 <li><i class="fa fa-li fa-exclamation"></i>The patron has a debt of [% checkout_info.DEBT %].</li> <!-- Need debt_confirmed -->
274 [% IF checkout_info.issue.date_due %]
275 <li>Due on [% checkout_info.issue.date_due | $KohaDates %]</li>
283 [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
285 <legend>Please confirm checkout</legend>
286 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
287 <input type="hidden" name="issueconfirmed" value="1" />
288 <input type="hidden" name="debt_confirmed" value="1" />
289 <input type="hidden" name="branch" value="[% branch %]" />
290 <input type="hidden" name="batch" value="1" />
291 <input type="submit" id="checkoutrenew" class="approve" value="Checkout or renew" />
297 <div class="dialog message">This patron does not exist. <a href="/cgi-bin/koha/members/members-home.pl">Find another patron?</a></div>
305 [% INCLUDE 'circ-menu.inc' %]
309 [% INCLUDE 'intranet-bottom.inc' %]