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 $("#issuest").dataTable($.extend(true, {}, dataTablesDefaults, {
28 { "aTargets": [ -1, -2[% IF ( exports_enabled ) %], -3[% END %] ], "bSortable": false, "bSearchable": false }
31 { "sType": "title-string" },{ "sType": "html" },null,{ "sType": "title-string" },null,null,null,null,null,null[% IF ( exports_enabled ) %],null[% END %]
39 <body id="circ_circulation_batch_checkouts" class="circ">
41 [% INCLUDE 'header.inc' %]
42 [% INCLUDE 'circ-search.inc' %]
44 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> ›
45 <a href="/cgi-bin/koha/circ/circulation.pl">Batch check out</a> › [% INCLUDE 'patron-title.inc' %]
47 <div id="doc3" class="yui-t2">
55 [% IF NOT batch_allowed %]
56 <div class="dialog message">You are not allowed to use batch checkout for this patron</div>
57 [% ELSIF NOT checkout_infos %]
58 <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/circ/circulation.pl">
59 <fieldset id="circ_circulation_issue">
60 <label for="barcode">Issuing items to [% INCLUDE 'patron-title.inc' %]</label>
61 <fieldset class="rows">
62 <legend>Use a file</legend>
64 <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li>
67 <fieldset class="rows">
68 <legend>Or list barcodes one by one</legend>
71 <label for="barcodelist">Barcode list (one barcode per line): </label>
72 <textarea rows="10" cols="30" id="barcodelist" name="barcodelist"></textarea>
76 <input type="hidden" name="op" value="show" />
77 <fieldset class="action">
78 <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" />
79 <input type="hidden" name="branch" value="[% branch %]" />
80 <input type="hidden" name="batch" value="1" />
81 <input type="submit" value="Check out" class="button" />
87 [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
88 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off">
90 <table id="checkout_infos">
93 [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
102 [% FOR checkout_info IN checkout_infos %]
104 [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
106 [% IF checkout_info.NEEDSCONFIRMATION %]
107 <input type="checkbox" name="barcodes" value="[% checkout_info.barcode %]" checked="checked" />
111 <td>[% checkout_info.barcode %]</td>
113 <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>
116 [% IF checkout_info.NEEDSCONFIRMATION %]
118 [% IF checkout_info.AGE_RESTRICTION %]
119 Age restriction [% checkout_info.AGE_RESTRICTION %]
121 [% IF checkout_info.DEBT %]
122 The patron has a debt of [% checkout_info.DEBT %] <!-- Need debt_confirmed -->
124 [% IF checkout_info.RENEW_ISSUE %]
125 This Item is currently checked out to this patron. Renew?
127 [% IF checkout_info.RESERVE_WAITING %]
128 This Item has been waiting for another patron.
130 [% IF checkout_info.RESERVED %]
131 This Item has been on hold for another patron.
133 [% IF checkout_info.ISSUED_TO_ANOTHER %]
134 This Item is checked out to another patron.
135 [% IF CAN_user_circulate_force_checkout %]
136 Check in and check out?
139 [% IF checkout_info.TOO_MANY %]
140 Too many checked out.
142 [% IF checkout_info.BORRNOTSAMEBRANCH %]
143 This patrons is from a different library ([% checkout_info.BORRNOTSAMEBRANCH %])</li>
145 [% IF checkout_ino.PATRON_CANT %]
146 This patron can't check out this item per library circulation policy.
148 [% IF checkout_info.NOT_FOR_LOAN_FORCING %]
149 [% IF checkout_info.itemtype_notforloan %]
150 Item type is normally not for loan.
151 [% ELSIF checkout_info.item_notforloan %]
152 [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, checkout_info.item_notforloan, 0 ) %]
153 Item is normally not for loan [% IF item_notforloan_lib %]([% item_notforloan_lib %])[% END %].
156 [% IF checkout_info.USERBLOCKEDOVERDUE %]
157 Patron has [% checkout_info.USERBLOCKEDOVERDUE %] overdue item(s).
159 [% IF checkout_info.ITEM_LOST %]
160 This item has been lost with a status of "[% checkout_info.ITEM_LOST %]".
162 [% IF checkout_info.HIGHHOLDS %]
163 High demand item. Loan period shortened to [% checkout_info.HIGHHOLDS.duration %] days (due [% checkout_info.HIGHHOLDS.returndate %]).
165 [% IF checkout_info.HIGHHOLDS %] <!-- FIXME -->
166 <script language="JavaScript" type="text/javascript">
167 $(document).ready(function() {
168 $("input[name=duedatespec]:hidden").val('[% checkout_info.HIGHHOLDS.returndate %]');
173 [% IF NOT checkout_info.IMPOSSIBLE && ( CAN_user_circulate_force_checkout or checkout_info.HIGHHOLDS ) %]
174 [% IF checkout_info.RESERVED || checkout_info.RESERVE_WAITING %] <!-- arbitrary choice, revert the reserve is not possible-->
175 <p>This item is on hold for another patron. The hold will be overridden, but not cancelled.</p>
182 [% IF checkout_info.alert.ITEM_LOST || checkout_info.alert.OTHER_CHARGES %]
184 [% IF checkout_info.alert.ITEM_LOST %]
185 This item has been lost with a status of "[% checkout_info.alert.ITEM_LOST %]".
187 [% IF checkout_info.alert.OTHER_CHARGES %]
188 The patron has unpaid charges for reserves, rentals etc of [% checkout_info.alert.OTHER_CHARGES %].
194 [% IF checkout_info.IMPOSSIBLE %]
196 [% IF checkout_info.STATS %]
200 [% IF checkout_info.NOT_FOR_LOAN %]
201 [% IF checkout_info.itemtype_notforloan %]
202 Item type not for loan.
203 [% ELSIF checkout_info.item_notforloan %]
204 [% item_notforloan_lib = AuthorisedValues.GetByCode( checkout_info.authvalcode_notforloan, checkout_info.item_notforloan, 0 ) %]
205 Item not for loan [% IF checkout_info.item_notforloan_lib %]([% checkout_info.item_notforloan_lib %])[% END %].
208 [% IF checkout_info.WTHDRAWN %]
209 Item has been withdrawn
211 [% IF checkout_info.RESTRICTED %]
214 [% IF checkout_info.GNA %]
215 Patron's address is in doubt
217 [% IF checkout_info.CARD_LOST %]
218 Patron's card is lost
220 [% IF checkout_info.DEBARRED %]
223 [% IF checkout_info.NO_MORE_RENEWALS %]
224 No more renewals possible
226 [% IF checkout_info.EXPIRED %]
227 Patron's card is expired
229 [% IF checkout_info.ITEMNOTSAMEBRANCH %]
230 This item belongs to [% Branches.GetName( checkout_info.itemhomebranch ) %] and cannot be checked out from this location.
232 [% IF checkout_info.USERBLOCKEDREMAINING %]
233 Patron has had overdue items and is blocked for [% checkout_info.USERBLOCKEDREMAINING %] day(s).
235 [% IF checkout_info.USERBLOCKEDOVERDUE %]
236 Checkouts are BLOCKED because patron has overdue items
238 [% IF checkout_info.TOO_MANY %]
239 Too many checked out.
241 [% IF checkout_info.UNKNOWN_BARCODE %]
242 <li>The barcode was not found [% checkout_info.barcode |html %]
252 [% IF confirmation_needed && CAN_user_circulate_force_checkout %]
253 <h3>Please confirm checkout</h3>
254 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
255 <input type="hidden" name="issueconfirmed" value="1" />
256 <input type="hidden" name="debt_confirmed" value="1" />
257 <input type="hidden" name="branch" value="[% branch %]" />
258 <input type="hidden" name="batch" value="1" />
259 <input type="submit" class="approve" value="Checkout or renew" />
269 [% INCLUDE 'circ-menu.inc' %]
272 [% INCLUDE 'intranet-bottom.inc' %]