2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Patrons ›
4 [% IF ( unknowuser ) %]
7 Patron details for [% INCLUDE 'patron-title.inc' %]
10 [% INCLUDE 'doc-head-close.inc' %]
11 [% INCLUDE 'calendar.inc' %]
12 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
13 [% INCLUDE 'datatables.inc' %]
14 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
15 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery-ui-timepicker-addon.min.js"></script>
16 [% INCLUDE 'timepicker.inc' %]
17 <script type="text/JavaScript">
19 $(document).ready(function() {
20 $('#finesholdsissues').tabs({
21 // Correct table sizing for tables hidden in tabs
22 // http://www.datatables.net/examples/api/tabs_and_scrolling.html
23 "show": function(event, ui) {
24 var oTable = $('div.dataTables_wrapper>table', ui.panel).dataTable();
25 if ( oTable.length > 0 ) {
26 oTable.fnAdjustColumnSizing();
30 $("#issuest").dataTable($.extend(true, {}, dataTablesDefaults, {
33 { "aTargets": [ -1,-2 ], "bSortable": false, "bSearchable": false }
36 { "sType": "title-string" },{ "sType": "anti-the" },null,{ "sType": "title-string" },null,null,null,null,null,null
40 $("#relissuest").dataTable($.extend(true, {}, dataTablesDefaults, {
43 { "sType": "title-string" },{ "sType": "anti-the" },null,{ "sType": "title-string" },null,null,null,null,null
47 $("#holdst").dataTable($.extend(true, {}, dataTablesDefaults, {
50 { "aTargets": [ -1,-2 ], "bSortable": false, "bSearchable": false }
53 { "sType": "title-string" },{ "sType": "anti-the" },null,null,null,null,null,null
58 // new YAHOO.widget.Button("delpicture"); // FIXME: formatting mismatch between YUI and normal button
59 $('#delpicture').click(function(){
60 return confirm(_("Are you sure you want to delete this patron image? This cannot be undone."));
62 $('#manage-patron-image').find("input[value*=Upload]").click(function(){
63 if($("#uploadfile").val() == ""){
64 alert(_("Please choose a file to upload"));
67 return confirm(_("Are you sure you want to replace the current patron image? This cannot be undone."));
69 $("#renew_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); });
70 $("#CheckAllitems" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; });
71 $("#CheckNoitems" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; });
72 $("#CheckAllreturns").click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; });
73 $("#CheckNoreturns" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; });
75 $("#relrenew_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); });
76 $("#relCheckAllitems" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; });
77 $("#relCheckNoitems" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; });
78 $("#relCheckAllreturns").click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; });
79 $("#relCheckNoreturns" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; });
82 [% IF ( CAN_user_circulate_override_renewals ) %]
83 [% IF ( AllowRenewalLimitOverride ) %]
84 $( '#override_limit' ).click( function () {
86 $( '.renewals-allowed' ).show(); $( '.renewals-disabled' ).hide();
88 $( '.renewals-allowed' ).hide(); $( '.renewals-disabled' ).show();
90 } ).attr( 'checked', false );
93 $("td").click(function(e){
94 if(e.target.tagName.toLowerCase() == 'td'){
95 $(this).find("input:checkbox").each( function() {
96 $(this).attr('checked', !$(this).attr('checked'));
97 if($(this).attr('checked')){
98 $(this).parent().siblings().find("input:checkbox").each(function(){
99 if($(this).attr('checked')){ $(this).removeAttr('checked'); }
105 $("#suspend_until").datepicker({ minDate: 1 }); // require that hold suspended until date is after today
106 $("#newduedate").datetimepicker({
107 minDate: 1, // require that renewal date is after today
112 function uncheck_sibling(me){
113 nodename=me.getAttribute("name");
114 if (nodename =="barcodes[]"){
115 var Node=me.parentNode.previousSibling;
116 while (Node.nodeName!="TD"){Node=Node.previousSibling}
117 var Nodes=Node.childNodes;
118 for (var i=0;i < Nodes.length;i++){
119 if (Nodes[i].nodeName=="INPUT" && Nodes[i].getAttribute("type")=="checkbox"){
120 Nodes[i].checked=false;
125 var Node=me.parentNode.nextSibling;
126 while (Node.nodeName!="TD"){Node=Node.nextSibling}
127 var Nodes=Node.childNodes;
128 for (var i=0;i<Nodes.length;i++){
129 if (Nodes[i].nodeName=="INPUT" && Nodes[i].getAttribute("type")=="checkbox"){
130 Nodes[i].checked=false;
135 function validate1(date) {
136 var today = new Date();
137 if ( date < today ) {
147 <body id="pat_moremember" class="pat">
148 [% INCLUDE 'header.inc' %]
149 [% INCLUDE 'patron-search.inc' %]
151 <div id="breadcrumbs">
152 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
153 › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
154 › [% IF ( unknowuser ) %]Patron does not exist[% ELSE %]Patron details for [% INCLUDE 'patron-title.inc' %][% END %]
157 <div id="doc3" class="yui-t1">
162 [% INCLUDE 'members-toolbar.inc' %]
164 <div class="dialog alert">
165 [% IF ( AUTH_UPDATE_FAILED ) %]
166 <h3>Userid / Password update failed</h3>
167 <strong>Insufficient privileges.</strong>
168 <p>Other fields updated.</p>
170 [% IF ( CANT_DELETE_STAFF ) %]
171 <h3>Unable to delete staff user</h3>
172 <p>Insufficient privileges.</p>
174 [% IF ( CANT_DELETE_OTHERLIBRARY ) %]
175 <h3>Unable to delete patrons from other libraries with current settings</h3>
176 <p>Insufficient privileges.</p>
178 [% IF ( CANT_DELETE ) %]
179 <h3>Unable to delete patron</h3>
180 <p>Insufficient privileges.</p>
186 [% IF ( unknowuser ) %]
187 <div class="dialog message">This patron does not exist.</div>
189 [% IF ( was_renewed ) %]<div class="dialog message">Patron's account has been renewed until [% dateexpiry %]</div>[% END %]
192 <div id="circmessages" class="circmessage attention">
194 [% IF ( userdebarred ) %]
195 <li class="blocker">Patron is restricted[% IF ( userdebarreddate ) %] until [% userdebarreddate%] [% IF (debarredcomment ) %]([% debarredcomment %])[% END %][% END %]
196 <a href="#reldebarments" onclick="$('#debarments-tab-link').click()">View restrictions</a>
199 [% IF ( gonenoaddress ) %]<li class="blocker">Patron's address is in doubt.</li>[% END %]
200 [% IF ( lost ) %]<li class="blocker">Patron's card has been reported lost.</li>[% END %]
205 <h3>[% UNLESS ( I ) %]
206 [% title %] [% firstname %] [% END %] [% surname %] ([% cardnumber %])</h3>
207 <div class="yui-u first">
208 <div id="patron-information" style="padding : .5em;">
210 [% UNLESS ( I ) %][% IF ( othernames ) %]“[% othernames %]”[% END %]
212 <p class="address">[% streetnumber %]
213 [% IF roadtype %][% roadtype %][% END %]
215 [% IF ( address2 ) %][% address2 %]<br />[% END %]
216 [% IF ( city ) %][% city %][% END %]
217 [% IF ( state ) %][% state %][% END %]
218 [% IF ( zipcode ) %][% zipcode %]<br />[% END %]
219 [% IF ( country ) %][% country %][% END %]</p>
224 [% IF ( phonepro ) %]<li><span class="label">Organization phone: </span>[% phonepro %]</li>[% END %]
225 [% IF ( emailpro ) %]<li><span class="label">Organization email: </span>[% emailpro %]</li>[% END %]
227 [% IF ( phone ) %]<li><span class="label">Primary phone: </span>[% phone %]</li>[% END %]
228 [% IF ( mobile ) %]<li><span class="label">Secondary phone: </span>[% mobile %]</li>[% END %]
229 [% IF ( phonepro ) %]<li><span class="label">Other phone: </span>[% phonepro %]</li>[% END %]
233 [% IF ( phone ) %]<li><span class="label">Primary phone: </span>[% phone %]</li>[% END %]
234 [% IF ( mobile ) %]<li><span class="label">Secondary phone: </span>[% mobile %]</li>[% END %]
236 [% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax %]</li>[% END %]
238 [% IF ( email ) %]<li><span class="label">Primary email:</span><a href="mailto:[% email %]">[% email %]</a></li>[% END %]
239 [% IF ( emailpro ) %]<li><span class="label">Secondary email: </span><a href="mailto:[% emailpro %]">[% emailpro %]</a></li>[% END %]
241 [% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials %]</li>[% END %]
242 [% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth %]</li>[% END %]
243 [% IF ( sex ) %]<li><span class="label">Gender:</span>
244 [% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %]
245 </li>[% END %][% END %]
246 [% IF ( printethnicityline ) %]
247 <li><span class="label">Ethnicity:</span>[% ethnicity %]</li>
248 <li><span class="label">Ethnicity notes: </span>[% ethnotes %]</li>
250 [% IF ( isguarantee ) %]
251 [% IF ( guaranteeloop ) %]
252 <li><span class="label">Guarantees:</span><ul>[% FOREACH guaranteeloo IN guaranteeloop %]<li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guaranteeloo.borrowernumber %]">[% guaranteeloo.name %] </a></li>[% END %]</ul></li>
255 [% IF ( guarantorborrowernumber ) %]
256 <li><span class="label">Guarantor:</span><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorborrowernumber %]">[% guarantorsurname %], [% guarantorfirstname %]</a></li>
262 [% IF ( guarantorborrowernumber ) %]
263 <a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=1&guarantorid=[% guarantorborrowernumber %]">Edit</a>
265 <a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=1">Edit</a>
270 <!-- Begin Upload Patron Image Section -->
272 <div id="manage-patron-image">
273 [% IF ( patronimages ) %]
274 [% IF ( CAN_user_tools_batch_upload_patron_images ) %]
275 <form method="post" action="/cgi-bin/koha/tools/picture-upload.pl" enctype="multipart/form-data">
276 <fieldset class="brief">
278 <legend>Manage Patron Image</legend>
279 <div class="hint">To update the image for [% title %] [% surname %], select a new image file and click 'Upload.' <br />Click the 'Delete' button to remove the current image.
281 <legend>Upload Patron Image</legend>
282 <div class="hint">[% title %] [% firstname %] [% surname %] does not currently have an image available. To import an image for [% title %] [% surname %], enter the name of an image file to upload.
284 <br />Only PNG, GIF, JPEG, XPM formats are supported.
286 <input type="hidden" id="image" name="filetype" value="image" />
287 <input type="hidden" id="cardnumber" name="cardnumber" value="[% cardnumber %]" />
288 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
291 <label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" />
294 <fieldset class="action">
295 <input type="submit" value="Upload" class="submit" />
296 <input name="op" type="hidden" value="Upload" />
297 [% IF ( picture ) %]<a id="delpicture" href="/cgi-bin/koha/tools/picture-upload.pl?op=Delete&cardnumber=[% cardnumber %]&borrowernumber=[% borrowernumber %]" class="delete">Delete</a>[% END %]
305 <!-- End Upload Patron Image Section -->
307 [% IF ( ExtendedPatronAttributes ) %]
308 [% UNLESS ( no_patron_attribute_types ) %]
309 <div id="patron-extended-attributes" style="padding-top: 1em;">
310 <h3>Additional attributes and identifiers</h3>
311 [% FOREACH attribute IN attributes_loop %]
312 [% IF attribute.class %]
313 <div id="aai_[% attribute.class %]" class="rows">
315 <div id="aai" class="rows">
317 <h4>[% attribute.lib %]</h4>
319 [% FOREACH item IN attribute.items %]
321 <span class="label">[% item.description %]: </span>
322 [% IF ( item.value_description ) %]
323 [% item.value_description %]
325 [% item.value| html_line_break %]
333 <div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=4">Edit</a></div>
337 [% IF ( EnhancedMessagingPreferences ) %]
338 <div id="patron-messaging-prefs" style="padding-top: 1em;">
339 <h3>Patron messaging preferences</h3>
340 [% INCLUDE 'messaging-preference-form.inc' %]
341 [% IF ( SMSSendDriver ) %]
342 <div class="rows"> <ol><li><span class="label">SMS number:</span>[% SMSnumber %]
346 <div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=5">Edit</a></div>
351 <div id="patron-library-details">
355 <li><span class="label">Card number: </span>[% cardnumber %]</li>
356 <li><span class="label">Borrowernumber: </span> [% borrowernumber %]</li>
357 <li><span class="label">Category: </span>[% description %] ([% categorycode %])</li>
358 <li><span class="label">Registration date: </span>[% dateenrolled %]</li>
360 <li><span class="label">Expiration date: </span>
361 [% IF ( was_renewed ) %]
362 <strong class="reregistrinfo">[% dateexpiry %]</strong>
368 <li><span class="label">Library: </span>[% branchname %]</li>
370 [% IF ( OPACPrivacy ) %]<li><span class="label">Privacy Pref:</span>
371 [% IF ( privacy0 ) %]Forever[% END %]
372 [% IF ( privacy1 ) %]Default[% END %]
373 [% IF ( privacy2 ) %]Never[% END %]
375 [% IF ( sort1 ) %]<li><span class="label">Sort field 1:</span>[% lib1 %]</li>[% END %]
376 [% IF ( sort2 ) %]<li><span class="label">Sort field 2:</span>[% lib2 %]</li>[% END %]
377 <li><span class="label">Username: </span>[% userid %]</li>
378 <li><span class="label">Password: </span>
379 [% IF ( password ) %]
382 <span class="problem"><a href="/cgi-bin/koha/members/member-password.pl?member=[% borrowernumber %]">Undefined</a></span>
385 [% IF ( borrowernotes ) %]<li><span class="label">Circulation note: </span>[% borrowernotes %]</li>[% END %]
386 [% IF ( opacnote ) %]<li><span class="label">OPAC note:</span>[% opacnote %]</li>[% END %]
390 <div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=3">Edit</a></div>
393 <div id="patron-alternate-address" style="padding-top: 1em;">
394 <h3>Alternate address</h3>
395 <div class="rows"> <ol><li><span class="label">Address: </span>[% B_address %]</li>
396 <li><span class="label">Address 2: </span>[% B_address2 %]</li>
397 <li><span class="label">City: </span>[% B_city %]</li>
398 [% IF ( B_state ) %]<li><span class="label">State: </span>[% B_state %]</li>[% END %]
399 <li><span class="label">Zip/Postal code: </span>[% B_zipcode %]</li>
400 [% IF ( B_country ) %]<li><span class="label">Country: </span>[% B_country %]</li>[% END %]
401 [% IF ( B_phone ) %]<li><span class="label">Phone: </span>[% B_phone %]</li>[% END %]
402 [% IF ( B_email ) %]<li><span class="label">Email: </span><a href="mailto:[% B_email %]">[% email %]</a></li>[% END %]</ol></div>
404 <div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=6">Edit</a></div>
407 <div id="patron-alternative-contact" style="padding-top: 1em;">
408 <h3>Alternative contact</h3>
409 <div class="rows"> <ol><li><span class="label">Surname: </span>[% altcontactsurname %]</li>
410 <li><span class="label">First name: </span>[% altcontactfirstname %]</li>
411 <li><span class="label">Address: </span>[% altcontactaddress1 %]</li>
412 <li><span class="label">Address 2: </span>[% altcontactaddress2 %]</li>
413 <li><span class="label">City: </span>[% altcontactaddress3 %]</li>
414 [% IF ( altcontactstate ) %]<li><span class="label">State: </span>[% altcontactstate %]</li>[% END %]
415 <li><span class="label">Zip/Postal code: </span>[% altcontactzipcode %]</li>
416 [% IF ( altcontactcountry ) %]<li><span class="label">Country: </span>[% altcontactcountry %]</li>[% END %]
417 [% IF ( altcontactphone ) %]<li><span class="label">Phone: </span>[% altcontactphone %]</li>[% END %]
420 <div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=2">Edit</a></div>
425 <div id="finesholdsissues" class="toptabs">
427 <li><a href="#checkedout">[% issueloop.size %] Checkout(s)</a></li>
428 [% IF relissueloop.size %]
429 <li><a href="#relissues">Relatives' Checkouts</a></li>
431 <li><a href="#finesandcharges">Fines & Charges</a></li>
432 <li>[% IF ( countreserv ) %]
433 <a href="#onhold">[% countreserv %] Hold(s)</a> [% ELSE %]
434 <a href="#onhold">0 Holds</a>
436 <li><a id="debarments-tab-link" href="#reldebarments">[% debarments.size %] Restrictions</a></li>
439 <form action="/cgi-bin/koha/reserve/renewscript.pl" method="post" class="checkboxed">
440 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
441 <input type="hidden" name="branch" value="[% branch %]" />
442 <div id="checkedout">
443 [% IF ( issueloop ) %]
447 <th scope="col">Due date</th>
448 <th scope="col">Title</th>
449 <th scope="col">Item type</th>
450 <th scope="col">Checked out on</th>
451 <th scope="col">Checked out from</th>
452 <th scope="col">Call no.</th>
453 <th scope="col">Charge</th>
454 <th scope="col">Price</th>
455 <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllitems">select all</a> | <a href="#" id="CheckNoitems">none</a></p></th>
456 <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllreturns">select all</a> | <a href="#" id="CheckNoreturns">none</a></p></th>
458 [% INCLUDE 'checkouts-table-footer.inc' %]
460 [% FOREACH issueloo IN issueloop %]
462 [% IF ( issueloo.overdue ) %]
467 [% IF ( issueloo.red ) %]
472 <span title="[% issueloo.date_due %]">[% issueloo.date_due | $KohaDates %]</span>
473 [% IF ( issueloo.itemlost ) %]
474 <span class="lost">[% issueloo.itemlost %]</span>
476 [% IF ( issueloo.damaged ) %]
477 <span class="dmg">[% issueloo.itemdamaged %]</span>
480 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% issueloo.biblionumber %]"><strong>[% issueloo.title |html %][% FOREACH subtitl IN issueloo.subtitle %] [% subtitl.subfield %][% END %]</strong></a>[% IF ( issueloo.author ) %], by [% issueloo.author %][% END %] [% IF ( issueloo.publishercode ) %]; [% issueloo.publishercode %] [% END %] [% IF ( issueloo.publicationyear ) %], [% issueloo.publicationyear %][% END %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% issueloo.biblionumber %]&itemnumber=[% issueloo.itemnumber %]#item[% issueloo.itemnumber %]">[% issueloo.barcode %]</a></td>
481 <td>[% UNLESS ( noItemTypeImages ) %] [% IF ( issueloo.itemtype_image ) %]<img src="[% issueloo.itemtype_image %]" alt="" />[% END %][% END %][% issueloo.itemtype_description %]</td>
482 <td><span title="[% issueloo.issuedate %]">[% issueloo.issuedate | $KohaDates%]</span></td>
483 <td>[% issueloo.issuingbranchname %]</td>
484 <td>[% issueloo.itemcallnumber %]</td>
485 <td>[% issueloo.charge %]</td>
486 <td>[% issueloo.replacementprice %]</td>
487 [% IF ( issueloo.renew_failed ) %]
488 <td class="problem">Renewal Failed</td>
490 <td><span style="padding: 0 1em;">[% IF ( issueloo.renewals ) %][% issueloo.renewals %][% ELSE %]0[% END %]</span>
491 [% IF ( issueloo.norenew ) %]
492 [% IF ( issueloo.can_confirm ) %]<span class="renewals-allowed" style="display: none">
493 <input type="checkbox" name="all_items[]" value="[% issueloo.itemnumber %]" checked="checked" style="display: none;" />
494 [% IF ( issueloo.od ) %]
495 <input type="checkbox" name="items[]" value="[% issueloo.itemnumber %]" checked="checked" />
497 <input type="checkbox" name="items[]" value="[% issueloo.itemnumber %]" />
500 [% IF issueloo.renewsallowed && issueloo.renewsleft && !issueloo.norenew_reason_too_soon %]
501 <span class="renewals">([% issueloo.renewsleft %] of [% issueloo.renewsallowed %] renewals remaining)</span>
503 <span class="renewals-disabled">
505 [% IF ( issueloo.norenew_reason_on_reserve ) %]
506 <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% issueloo.biblionumber %]">On Hold</a>
507 [% ELSIF ( issueloo.norenew_reason_too_many ) %]
509 [% ELSIF ( issueloo.norenew_reason_too_soon ) %]
510 No renewal before [% issueloo.soonestrenewdate %]
511 <span class="renewals">([% issueloo.renewsleft %] of [% issueloo.renewsallowed %] renewals remaining)</span>
513 [% IF ( issueloo.can_confirm ) %]
517 <input type="checkbox" name="all_items[]" value="[% issueloo.itemnumber %]" checked="checked" style="display: none;" />
518 [% IF ( issueloo.red ) %]
519 <input type="checkbox" name="items[]" value="[% issueloo.itemnumber %]" checked="checked" onclick="uncheck_sibling(this);" />
521 <input type="checkbox" name="items[]" value="[% issueloo.itemnumber %]" onclick="uncheck_sibling(this);" />
523 [% IF issueloo.renewsallowed && issueloo.renewsleft %]
524 <span class="renewals">([% issueloo.renewsleft %] of [% issueloo.renewsallowed %] renewals remaining)</span>
529 [% IF ( issueloo.return_failed ) %]
530 <td class="problem">Check-in failed</td>
532 [% IF ( issueloo.norenew_reason_on_reserve ) %]
533 <td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% issueloo.biblionumber %]">On hold</a></td>
535 <td><input type="checkbox" name="barcodes[]" value="[% issueloo.barcode %]" onclick="uncheck_sibling(this);" />
536 <input type="checkbox" name="all_barcodes[]" value="[% issueloo.barcode %]" checked="checked" style="display: none;" />
544 <fieldset class="action">
545 [% IF ( CAN_user_circulate_override_renewals ) %]
546 [% IF ( AllowRenewalLimitOverride ) %]
547 <label for="override_limit">Override renewal limit:</label>
548 <input type="checkbox" name="override_limit" id="override_limit" value="1" />
551 <input type="submit" name="renew_checked" value="Renew or return checked items" />
552 <input type="submit" id="renew_all" name="renew_all" value="Renew all" />
554 [% ELSE %]<p>Patron has nothing checked out.</p>
559 [% IF relissueloop %]
561 <table id="relissuest">
564 <th scope="col">Due date</th>
565 <th scope="col">Title</th>
566 <th scope="col">Item type</th>
567 <th scope="col">Checked out on</th>
568 <th scope="col">Checked out from</th>
569 <th scope="col">Call no.</th>
570 <th scope="col">Charge</th>
571 <th scope="col">Price</th>
572 <th scope="col">Patron</th>
576 [% FOREACH relissueloo IN relissueloop %]
578 [% IF ( relissueloo.overdue ) %]
583 [% IF ( relissueloo.red ) %]
588 <span title="[% relissueloo.date_due %]">[% relissueloo.date_due | $KohaDates %]</span>
589 [% IF ( relissueloo.itemlost ) %]
590 <span class="lost">[% relissueloo.itemlost %]</span>
592 [% IF ( relissueloo.damaged ) %]
593 <span class="dmg">[% relissueloo.itemdamaged %]</span>
596 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% relissueloo.biblionumber %]"><strong>[% relissueloo.title |html %][% FOREACH subtitl IN relissueloo.subtitle %] [% subtitl.subfield %][% END %]</strong></a>[% IF relissueloo.author %], by [% relissueloo.author %][% END %] [% IF relissueloo.publishercode %]; [% relissueloo.publishercode %] [% END %] [% IF relissueloo.publicationyear %], [% relissueloo.publicationyear %][% END %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% relissueloo.biblionumber %]&itemnumber=[% relissueloo.itemnumber %]#item[% relissueloo.itemnumber %]">[% relissueloo.barcode %]</a></td>
597 <td>[% UNLESS ( noItemTypeImages ) %] [% IF ( relissueloo.itemtype_image ) %]<img src="[% relissueloo.itemtype_image %]" alt="" />[% END %][% END %][% relissueloo.itemtype_description %]</td>
598 <td><span title="[% relissueloo.issuedate %]">[% relissueloo.issuedate | $KohaDates %]</span></td>
599 <td>[% relissueloo.issuingbranchname %]</td>
600 <td>[% relissueloo.itemcallnumber %]</td>
601 <td>[% relissueloo.charge %]</td>
602 <td>[% relissueloo.replacementprice %]</td>
603 <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% relissueloo.borrowernumber %]">[% relissueloo.firstname %] [% relissueloo.surname %] ([% relissueloo.cardnumber %])</a></td>
612 <div id="finesandcharges">
613 [% IF ( totaldue_raw ) %]
614 <p>Total due: [% totaldue %]</p>
616 <p>No outstanding charges</p>
620 [% INCLUDE borrower_debarments.inc %]
623 [% IF ( reservloop ) %]
624 <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
625 <input type="hidden" name="from" value="borrower" />
637 <tbody>[% FOREACH reservloo IN reservloop %]
638 <tr class="[% reservloo.color %]">
639 <td><span title="[% reservloo.reservedate %]">[% reservloo.reservedate | $KohaDates %]</span></td>
641 <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% reservloo.biblionumber %]">[% reservloo.title |html %][% FOREACH subtitl IN reservloo.subtitle %] [% subtitl.subfield %][% END %]</a>[% IF ( reservloo.author ) %], by [% reservloo.author %][% END %]
643 <td>[% reservloo.itemcallnumber %]</td>
644 <td>[% IF ( reservloo.waiting ) %]
645 <em>Item is <strong>waiting</strong></em>
647 [% IF ( reservloo.transfered ) %]
648 <em>Item <strong>in transit</strong> from
649 [% reservloo.frombranch %] since [% reservloo.datesent %] </em>
652 [% IF ( reservloo.nottransfered ) %]
653 <em>Item hasn't been transferred yet from [% reservloo.nottransferedby %]</em>
655 [% IF ( reservloo.barcodereserv ) %]
656 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% reservloo.biblionumber %]">[% reservloo.barcodereserv %]</a>
659 <td>[% reservloo.expirationdate | $KohaDates %]</td>
660 <td>[% IF ( reservloo.waitingposition ) %]<strong>[% reservloo.waitingposition %]</strong>[% END %]</td>
661 <td><select name="rank-request">
662 <option value="n">No</option>
663 <option value="del">Yes</option>
665 <input type="hidden" name="biblionumber" value="[% reservloo.biblionumber %]" />
666 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
667 <input type="hidden" name="reserve_id" value="[% reservloo.reserve_id %]" />
669 <td>[% IF ( reservloo.suspend ) %]Suspended [% IF ( reservloo.suspend_until ) %] until [% reservloo.suspend_until | $KohaDates %][% END %][% END %]</td>
674 <fieldset class="action"><input type="submit" class="cancel" name="submit" value="Cancel marked holds" /></fieldset>
677 [% IF SuspendHoldsIntranet %]
678 <fieldset class="action">
679 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
680 <input type="hidden" name="from" value="borrower" />
681 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
682 <input type="submit" value="Suspend all holds" />
684 [% IF AutoResumeSuspendedHolds %]
685 <label for="suspend_until">until</label>
686 <input type="text" size="10" id="suspend_until" name="suspend_until"/>
687 <span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span>
692 <fieldset class="action">
693 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
694 <input type="hidden" name="from" value="borrower" />
695 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
696 <input type="hidden" name="suspend" value="0" />
697 <input type="submit" value="Resume all suspended holds" />
700 [% END # IF SuspendHoldsIntranet %]
702 [% ELSE %]<p>Patron has nothing on hold.</p>[% END %]
706 [% END %] <!-- unknowuser -->
712 [% INCLUDE 'circ-menu.inc' %]
715 [% INCLUDE 'intranet-bottom.inc' %]