3 [% IF ( export_remove_fields OR export_with_csv_profile ) %]
4 [% SET exports_enabled = 1 %]
6 [% USE AuthorisedValues %]
7 [% INCLUDE 'doc-head-open.inc' %]
8 [% SET destination = "circ" %]
9 <title>Koha › Circulation
10 [% IF borrowernumber %]
11 › Batch check out › Issuing items to [% INCLUDE 'patron-title.inc' invert_name = 1 %]
14 [% INCLUDE 'doc-head-close.inc' %]
15 [% INCLUDE 'calendar.inc' %]
16 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
17 [% INCLUDE 'datatables.inc' %]
18 [% INCLUDE 'datatables-strings.inc' %]
19 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
20 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery-ui-timepicker-addon.js"></script>
21 <script type="text/javascript">
23 $(document).ready(function() {
24 if($('#barcodelist').length) {
25 $('#barcodelist').focus();
26 } else if ($('#checkoutrenew').length) {
27 $('#checkoutrenew').focus();
29 $("#issuest").dataTable($.extend(true, {}, dataTablesDefaults, {
33 { "aTargets": [ -1, -2[% IF ( exports_enabled ) %], -3[% END %] ], "bSortable": false, "bSearchable": false }
36 { "sType": "title-string" },{ "sType": "html" },null,{ "sType": "title-string" },null,null,null,null,null,null[% IF ( exports_enabled ) %],null[% END %]
44 <body id="circ_circulation_batch_checkouts" class="circ">
46 [% INCLUDE 'header.inc' %]
47 [% INCLUDE 'circ-search.inc' %]
49 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> ›
50 <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 ) %]
61 [% INCLUDE 'members-toolbar.inc' %]
64 [% IF NOT batch_allowed %]
65 <div class="dialog message">You are not allowed to use batch checkout for this patron</div>
66 [% ELSIF noissues and not checkout_infos %]
67 <div class="dialog message">
69 [% IF charges_is_blocker %]
70 Checkouts are <span class="circ-hlt">BLOCKED</span> because fine balance is <span class="circ-hlt">OVER THE LIMIT</span>.
73 [% ELSIF NOT checkout_infos %]
74 <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/circ/circulation.pl">
75 <fieldset id="circ_circulation_issue">
76 <label for="barcode">Issuing items to [% INCLUDE 'patron-title.inc' %]</label>
77 <fieldset class="rows">
78 <legend>Use a file</legend>
80 <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li>
83 <fieldset class="rows">
84 <legend>Or list barcodes one by one</legend>
87 <label for="barcodelist">Barcode list (one barcode per line): </label>
88 <textarea rows="10" cols="30" id="barcodelist" name="barcodelist"></textarea>
92 <input type="hidden" name="op" value="show" />
93 <fieldset class="action">
94 <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" />
95 <input type="hidden" name="branch" value="[% branch %]" />
96 <input type="hidden" name="batch" value="1" />
97 <input type="submit" value="Check out" class="button" />
103 [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
104 <h3>Batch checkout confirmation [% IF borrowernumber %] for [% INCLUDE 'patron-title.inc' invert_name = 1 %] [% END %]</h1>
105 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
107 <h3>Batch checkout information [% IF borrowernumber %] for [% INCLUDE 'patron-title.inc' invert_name = 1 %] [% END %]</h1>
109 <table id="checkout_infos">
112 [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
121 [% FOR checkout_info IN checkout_infos %]
123 [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
125 [% IF checkout_info.NEEDSCONFIRMATION %]
126 <input type="checkbox" name="barcodes" value="[% checkout_info.barcode %]" checked="checked" />
130 <td>[% checkout_info.barcode %]</td>
132 <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>
135 [% IF checkout_info.NEEDSCONFIRMATION %]
137 [% IF checkout_info.AGE_RESTRICTION %]
138 Age restriction [% checkout_info.AGE_RESTRICTION %]
140 [% IF checkout_info.RENEW_ISSUE %]
141 This item is currently checked out to this patron. Renew?
143 [% IF checkout_info.RESERVE_WAITING %]
144 This item has been waiting for another patron.
146 [% IF checkout_info.RESERVED %]
147 This item has been on hold for another patron.
149 [% IF checkout_info.ISSUED_TO_ANOTHER %]
150 This item is checked out to another patron.
151 [% IF CAN_user_circulate_force_checkout %]
152 Check in and check out?
155 [% IF checkout_info.TOO_MANY %]
156 Too many checked out.
158 [% IF checkout_info.BORRNOTSAMEBRANCH %]
159 This patron is from a different library ([% checkout_info.BORRNOTSAMEBRANCH %])</li>
161 [% IF checkout_ino.PATRON_CANT %]
162 This patron can't check out this item per library circulation policy.
164 [% IF checkout_info.NOT_FOR_LOAN_FORCING %]
165 [% IF checkout_info.itemtype_notforloan %]
166 Item type is normally not for loan.
167 [% ELSIF checkout_info.item_notforloan %]
168 [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, checkout_info.item_notforloan, 0 ) %]
169 Item is normally not for loan [% IF item_notforloan_lib %]([% item_notforloan_lib %])[% END %].
172 [% IF checkout_info.USERBLOCKEDOVERDUE %]
173 Patron has [% checkout_info.USERBLOCKEDOVERDUE %] overdue item(s).
175 [% IF checkout_info.ITEM_LOST %]
176 This item has been lost with a status of "[% checkout_info.ITEM_LOST %]".
178 [% IF checkout_info.HIGHHOLDS %]
179 High demand item. Loan period shortened to [% checkout_info.HIGHHOLDS.duration %] days (due [% checkout_info.HIGHHOLDS.returndate %]).
181 [% IF checkout_info.HIGHHOLDS %] <!-- FIXME -->
182 <script language="JavaScript" type="text/javascript">
183 $(document).ready(function() {
184 $("input[name=duedatespec]:hidden").val('[% checkout_info.HIGHHOLDS.returndate %]');
189 [% IF NOT checkout_info.IMPOSSIBLE && ( CAN_user_circulate_force_checkout or checkout_info.HIGHHOLDS ) %]
190 [% IF checkout_info.RESERVED || checkout_info.RESERVE_WAITING %] <!-- arbitrary choice, revert the reserve is not possible-->
191 <p>This item is on hold for another patron. The hold will be overridden, but not cancelled.</p>
198 [% IF checkout_info.alert.ITEM_LOST || checkout_info.alert.OTHER_CHARGES %]
200 [% IF checkout_info.alert.ITEM_LOST %]
201 This item has been lost with a status of "[% checkout_info.alert.ITEM_LOST %]".
203 [% IF checkout_info.alert.OTHER_CHARGES %]
204 The patron has unpaid charges for holds, rentals etc of [% checkout_info.alert.OTHER_CHARGES %].
210 [% IF checkout_info.IMPOSSIBLE %]
212 [% IF checkout_info.STATS %]
216 [% IF checkout_info.NOT_FOR_LOAN %]
217 [% IF checkout_info.itemtype_notforloan %]
218 Item type not for loan.
219 [% ELSIF checkout_info.item_notforloan %]
220 [% item_notforloan_lib = AuthorisedValues.GetByCode( checkout_info.authvalcode_notforloan, checkout_info.item_notforloan, 0 ) %]
221 Item not for loan [% IF checkout_info.item_notforloan_lib %]([% checkout_info.item_notforloan_lib %])[% END %].
224 [% IF checkout_info.WTHDRAWN %]
225 Item has been withdrawn
227 [% IF checkout_info.RESTRICTED %]
230 [% IF checkout_info.GNA %]
231 Patron's address is in doubt
233 [% IF checkout_info.CARD_LOST %]
234 Patron's card is lost
236 [% IF checkout_info.DEBARRED %]
239 [% IF checkout_info.NO_MORE_RENEWALS %]
240 No more renewals possible
242 [% IF checkout_info.EXPIRED %]
243 Patron's card is expired
245 [% IF checkout_info.ITEMNOTSAMEBRANCH %]
246 This item belongs to [% Branches.GetName( checkout_info.itemhomebranch ) %] and cannot be checked out from this location.
248 [% IF checkout_info.USERBLOCKEDREMAINING %]
249 Patron has had overdue items and is blocked for [% checkout_info.USERBLOCKEDREMAINING %] day(s).
251 [% IF checkout_info.USERBLOCKEDOVERDUE %]
252 Checkouts are BLOCKED because patron has overdue items
254 [% IF checkout_info.TOO_MANY %]
255 Too many checked out.
257 [% IF checkout_info.UNKNOWN_BARCODE %]
258 <li>The barcode was not found [% checkout_info.barcode |html %]
260 [% IF checkout_info.DEBT %]
261 The patron has a debt of [% checkout_info.DEBT %] <!-- Need debt_confirmed -->
271 [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
272 <h3>Please confirm checkout</h3>
273 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
274 <input type="hidden" name="issueconfirmed" value="1" />
275 <input type="hidden" name="debt_confirmed" value="1" />
276 <input type="hidden" name="branch" value="[% branch %]" />
277 <input type="hidden" name="batch" value="1" />
278 <input type="submit" id="checkoutrenew" class="approve" value="Checkout or renew" />
288 [% INCLUDE 'circ-menu.inc' %]
291 [% INCLUDE 'intranet-bottom.inc' %]