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 NOT checkout_infos %]
67 <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/circ/circulation.pl">
68 <fieldset id="circ_circulation_issue">
69 <label for="barcode">Issuing items to [% INCLUDE 'patron-title.inc' %]</label>
70 <fieldset class="rows">
71 <legend>Use a file</legend>
73 <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li>
76 <fieldset class="rows">
77 <legend>Or list barcodes one by one</legend>
80 <label for="barcodelist">Barcode list (one barcode per line): </label>
81 <textarea rows="10" cols="30" id="barcodelist" name="barcodelist"></textarea>
85 <input type="hidden" name="op" value="show" />
86 <fieldset class="action">
87 <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" />
88 <input type="hidden" name="branch" value="[% branch %]" />
89 <input type="hidden" name="batch" value="1" />
90 <input type="submit" value="Check out" class="button" />
96 [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
97 <h3>Batch checkout confirmation [% IF borrowernumber %] for [% INCLUDE 'patron-title.inc' invert_name = 1 %] [% END %]</h1>
98 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
100 <h3>Batch checkout information [% IF borrowernumber %] for [% INCLUDE 'patron-title.inc' invert_name = 1 %] [% END %]</h1>
102 <table id="checkout_infos">
105 [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
114 [% FOR checkout_info IN checkout_infos %]
116 [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
118 [% IF checkout_info.NEEDSCONFIRMATION %]
119 <input type="checkbox" name="barcodes" value="[% checkout_info.barcode %]" checked="checked" />
123 <td>[% checkout_info.barcode %]</td>
125 <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>
128 [% IF checkout_info.NEEDSCONFIRMATION %]
130 [% IF checkout_info.AGE_RESTRICTION %]
131 Age restriction [% checkout_info.AGE_RESTRICTION %]
133 [% IF checkout_info.DEBT %]
134 The patron has a debt of [% checkout_info.DEBT %] <!-- Need debt_confirmed -->
136 [% IF checkout_info.RENEW_ISSUE %]
137 This Item is currently checked out to this patron. Renew?
139 [% IF checkout_info.RESERVE_WAITING %]
140 This Item has been waiting for another patron.
142 [% IF checkout_info.RESERVED %]
143 This Item has been on hold for another patron.
145 [% IF checkout_info.ISSUED_TO_ANOTHER %]
146 This Item is checked out to another patron.
147 [% IF CAN_user_circulate_force_checkout %]
148 Check in and check out?
151 [% IF checkout_info.TOO_MANY %]
152 Too many checked out.
154 [% IF checkout_info.BORRNOTSAMEBRANCH %]
155 This patrons is from a different library ([% checkout_info.BORRNOTSAMEBRANCH %])</li>
157 [% IF checkout_ino.PATRON_CANT %]
158 This patron can't check out this item per library circulation policy.
160 [% IF checkout_info.NOT_FOR_LOAN_FORCING %]
161 [% IF checkout_info.itemtype_notforloan %]
162 Item type is normally not for loan.
163 [% ELSIF checkout_info.item_notforloan %]
164 [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, checkout_info.item_notforloan, 0 ) %]
165 Item is normally not for loan [% IF item_notforloan_lib %]([% item_notforloan_lib %])[% END %].
168 [% IF checkout_info.USERBLOCKEDOVERDUE %]
169 Patron has [% checkout_info.USERBLOCKEDOVERDUE %] overdue item(s).
171 [% IF checkout_info.ITEM_LOST %]
172 This item has been lost with a status of "[% checkout_info.ITEM_LOST %]".
174 [% IF checkout_info.HIGHHOLDS %]
175 High demand item. Loan period shortened to [% checkout_info.HIGHHOLDS.duration %] days (due [% checkout_info.HIGHHOLDS.returndate %]).
177 [% IF checkout_info.HIGHHOLDS %] <!-- FIXME -->
178 <script language="JavaScript" type="text/javascript">
179 $(document).ready(function() {
180 $("input[name=duedatespec]:hidden").val('[% checkout_info.HIGHHOLDS.returndate %]');
185 [% IF NOT checkout_info.IMPOSSIBLE && ( CAN_user_circulate_force_checkout or checkout_info.HIGHHOLDS ) %]
186 [% IF checkout_info.RESERVED || checkout_info.RESERVE_WAITING %] <!-- arbitrary choice, revert the reserve is not possible-->
187 <p>This item is on hold for another patron. The hold will be overridden, but not cancelled.</p>
194 [% IF checkout_info.alert.ITEM_LOST || checkout_info.alert.OTHER_CHARGES %]
196 [% IF checkout_info.alert.ITEM_LOST %]
197 This item has been lost with a status of "[% checkout_info.alert.ITEM_LOST %]".
199 [% IF checkout_info.alert.OTHER_CHARGES %]
200 The patron has unpaid charges for reserves, rentals etc of [% checkout_info.alert.OTHER_CHARGES %].
206 [% IF checkout_info.IMPOSSIBLE %]
208 [% IF checkout_info.STATS %]
212 [% IF checkout_info.NOT_FOR_LOAN %]
213 [% IF checkout_info.itemtype_notforloan %]
214 Item type not for loan.
215 [% ELSIF checkout_info.item_notforloan %]
216 [% item_notforloan_lib = AuthorisedValues.GetByCode( checkout_info.authvalcode_notforloan, checkout_info.item_notforloan, 0 ) %]
217 Item not for loan [% IF checkout_info.item_notforloan_lib %]([% checkout_info.item_notforloan_lib %])[% END %].
220 [% IF checkout_info.WTHDRAWN %]
221 Item has been withdrawn
223 [% IF checkout_info.RESTRICTED %]
226 [% IF checkout_info.GNA %]
227 Patron's address is in doubt
229 [% IF checkout_info.CARD_LOST %]
230 Patron's card is lost
232 [% IF checkout_info.DEBARRED %]
235 [% IF checkout_info.NO_MORE_RENEWALS %]
236 No more renewals possible
238 [% IF checkout_info.EXPIRED %]
239 Patron's card is expired
241 [% IF checkout_info.ITEMNOTSAMEBRANCH %]
242 This item belongs to [% Branches.GetName( checkout_info.itemhomebranch ) %] and cannot be checked out from this location.
244 [% IF checkout_info.USERBLOCKEDREMAINING %]
245 Patron has had overdue items and is blocked for [% checkout_info.USERBLOCKEDREMAINING %] day(s).
247 [% IF checkout_info.USERBLOCKEDOVERDUE %]
248 Checkouts are BLOCKED because patron has overdue items
250 [% IF checkout_info.TOO_MANY %]
251 Too many checked out.
253 [% IF checkout_info.UNKNOWN_BARCODE %]
254 <li>The barcode was not found [% checkout_info.barcode |html %]
264 [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
265 <h3>Please confirm checkout</h3>
266 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
267 <input type="hidden" name="issueconfirmed" value="1" />
268 <input type="hidden" name="debt_confirmed" value="1" />
269 <input type="hidden" name="branch" value="[% branch %]" />
270 <input type="hidden" name="batch" value="1" />
271 <input type="submit" id="checkoutrenew" class="approve" value="Checkout or renew" />
281 [% INCLUDE 'circ-menu.inc' %]
284 [% INCLUDE 'intranet-bottom.inc' %]