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="[% interface %]/[% theme %]/en/css/datatables.css" />
13 <script type="text/javascript" src="[% interface %]/[% theme %]/en/lib/jquery/plugins/jquery.dataTables.min.js"></script>
14 [% INCLUDE 'datatables-strings.inc' %]
15 <script type="text/javascript" src="[% interface %]/[% theme %]/en/js/datatables.js"></script>
16 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
17 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery-ui-timepicker-addon.js"></script>
18 <script type="text/JavaScript">
20 $(document).ready(function() {
21 $('#finesholdsissues').tabs({
22 // Correct table sizing for tables hidden in tabs
23 // http://www.datatables.net/examples/api/tabs_and_scrolling.html
24 "show": function(event, ui) {
25 var oTable = $('div.dataTables_wrapper>table', ui.panel).dataTable();
26 if ( oTable.length > 0 ) {
27 oTable.fnAdjustColumnSizing();
31 $("#issuest").dataTable($.extend(true, {}, dataTablesDefaults, {
34 { "aTargets": [ -1,-2 ], "bSortable": false, "bSearchable": false }
37 { "sType": "title-string" },null,null,{ "sType": "title-string" },null,null,null,null,null,null
41 $("#relissuest").dataTable($.extend(true, {}, dataTablesDefaults, {
44 { "sType": "title-string" },null,null,{ "sType": "title-string" },null,null,null,null,null
48 $("#holdst").dataTable($.extend(true, {}, dataTablesDefaults, {
51 { "aTargets": [ -1,-2 ], "bSortable": false, "bSearchable": false }
54 { "sType": "title-string" },null,null,null,null,null,null
59 // new YAHOO.widget.Button("delpicture"); // FIXME: formatting mismatch between YUI and normal button
60 $('#delpicture').click(function(){
61 return confirm(_("Are you sure you want to delete this patron image? This cannot be undone."));
63 $('#manage-patron-image').find("input[value*=Upload]").click(function(){
64 if($("#uploadfile").val() == ""){
65 alert(_("Please choose a file to upload"));
68 return confirm(_("Are you sure you want to replace the current patron image? This cannot be undone."));
70 $("#renew_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); });
71 $("#CheckAllitems" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; });
72 $("#CheckNoitems" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; });
73 $("#CheckAllreturns").click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; });
74 $("#CheckNoreturns" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; });
76 $("#relrenew_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); });
77 $("#relCheckAllitems" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; });
78 $("#relCheckNoitems" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; });
79 $("#relCheckAllreturns").click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; });
80 $("#relCheckNoreturns" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; });
83 [% IF ( CAN_user_circulate_override_renewals ) %]
84 [% IF ( AllowRenewalLimitOverride ) %]
85 $( '#override_limit' ).click( function () {
87 $( '.renewals-allowed' ).show(); $( '.renewals-disabled' ).hide();
89 $( '.renewals-allowed' ).hide(); $( '.renewals-disabled' ).show();
91 } ).attr( 'checked', false );
94 $("td").click(function(e){
95 if(e.target.tagName.toLowerCase() == 'td'){
96 $(this).find("input:checkbox").each( function() {
97 $(this).attr('checked', !$(this).attr('checked'));
98 if($(this).attr('checked')){
99 $(this).parent().siblings().find("input:checkbox").each(function(){
100 if($(this).attr('checked')){ $(this).removeAttr('checked'); }
106 $("#suspend_until").datepicker({ minDate: 1 }); // require that hold suspended until date is after today
107 $("#newduedate").datetimepicker({
108 minDate: 1, // require that renewal date is after today
113 function uncheck_sibling(me){
114 nodename=me.getAttribute("name");
115 if (nodename =="barcodes[]"){
116 var Node=me.parentNode.previousSibling;
117 while (Node.nodeName!="TD"){Node=Node.previousSibling}
118 var Nodes=Node.childNodes;
119 for (var i=0;i<Nodes.length;i++){
120 if (Nodes[i].nodeName=="INPUT" && Nodes[i].getAttribute("type")=="checkbox"){
121 Nodes[i].checked=false;
126 var Node=me.parentNode.nextSibling;
127 while (Node.nodeName!="TD"){Node=Node.nextSibling}
128 var Nodes=Node.childNodes;
129 for (var i=0;i<Nodes.length;i++){
130 if (Nodes[i].nodeName=="INPUT" && Nodes[i].getAttribute("type")=="checkbox"){
131 Nodes[i].checked=false;
136 function validate1(date) {
137 var today = new Date();
138 if ( date < today ) {
148 <body id="pat_moremember" class="pat">
149 [% INCLUDE 'header.inc' %]
150 [% INCLUDE 'patron-search.inc' %]
152 <div id="breadcrumbs">
153 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
154 › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
155 › [% IF ( unknowuser ) %]Patron does not exist[% ELSE %]Patron details for [% INCLUDE 'patron-title.inc' %][% END %]
158 <div id="doc3" class="yui-t1">
163 [% INCLUDE 'members-toolbar.inc' %]
165 <div class="dialog alert">
166 [% IF ( AUTH_UPDATE_FAILED ) %]
167 <h3>Userid / Password update failed</h3>
168 <strong>Insufficient privileges.</strong>
169 <p>Other fields updated.</p>
171 [% IF ( CANT_DELETE_STAFF ) %]
172 <h3>Unable to delete staff user</h3>
173 <p>Insufficient privileges.</p>
175 [% IF ( CANT_DELETE_OTHERLIBRARY ) %]
176 <h3>Unable to delete patrons from other libraries with current settings</h3>
177 <p>Insufficient privileges.</p>
179 [% IF ( CANT_DELETE ) %]
180 <h3>Unable to delete patron</h3>
181 <p>Insufficient privileges.</p>
187 [% IF ( unknowuser ) %]
188 <div class="dialog message">This patron does not exist.</div>
190 [% IF ( was_renewed ) %]<div class="dialog message">Patron's account has been renewed until [% dateexpiry %]</div>[% END %]
193 <div id="circmessages" class="circmessage attention">
195 [% IF ( userdebarred ) %]
196 <li class="blocker">Patron is restricted[% IF ( userdebarreddate ) %] until [% userdebarreddate%] [% IF (debarredcomment ) %]([% debarredcomment %])[% END %][% END %]
197 <form class="inline compact" action="/cgi-bin/koha/members/setdebar.pl" method="post">
198 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
199 <input type="submit" value="Lift restriction" />
203 [% IF ( gonenoaddress ) %]<li class="blocker">Patron's address is in doubt.</li>[% END %]
204 [% IF ( lost ) %]<li class="blocker">Patron's card has been reported lost.</li>[% END %]
209 <h3>[% UNLESS ( I ) %]
210 [% title %] [% firstname %] [% END %] [% surname %] ([% cardnumber %])</h3>
211 <div class="yui-u first">
212 <div id="patron-information" style="padding : .5em;">
214 [% UNLESS ( I ) %][% IF ( othernames ) %]“[% othernames %]”[% END %]
216 <p class="address">[% streetnumber %]
217 [% IF ( roaddetails ) %]
221 [% IF ( address2 ) %][% address2 %]<br />[% END %]
222 [% IF ( city ) %][% city %][% END %]
223 [% IF ( state ) %][% state %][% END %]
224 [% IF ( zipcode ) %][% zipcode %]<br />[% END %]
225 [% IF ( country ) %][% country %][% END %]</p>
230 [% IF ( phonepro ) %]<li><span class="label">Organization phone: </span>[% phonepro %]</li>[% END %]
231 [% IF ( emailpro ) %]<li><span class="label">Organization email: </span>[% emailpro %]</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 %]
235 [% IF ( phonepro ) %]<li><span class="label">Other phone: </span>[% phonepro %]</li>[% END %]
239 [% IF ( phone ) %]<li><span class="label">Primary phone: </span>[% phone %]</li>[% END %]
240 [% IF ( mobile ) %]<li><span class="label">Secondary phone: </span>[% mobile %]</li>[% END %]
242 [% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax %]</li>[% END %]
244 [% IF ( email ) %]<li><span class="label">Primary email:</span><a href="mailto:[% email %]">[% email %]</a></li>[% END %]
245 [% IF ( emailpro ) %]<li><span class="label">Secondary email: </span><a href="mailto:[% emailpro %]">[% emailpro %]</a></li>[% END %]
247 [% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials %]</li>[% END %]
248 [% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth %]</li>[% END %]
249 [% IF ( sex ) %]<li><span class="label">Gender:</span>
250 [% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %]
251 </li>[% END %][% END %]
252 [% IF ( printethnicityline ) %]
253 <li><span class="label">Ethnicity:</span>[% ethnicity %]</li>
254 <li><span class="label">Ethnicity notes: </span>[% ethnotes %]</li>
256 [% IF ( isguarantee ) %]
257 [% IF ( guaranteeloop ) %]
258 <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>
261 [% IF ( guarantorborrowernumber ) %]
262 <li><span class="label">Guarantor:</span><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorborrowernumber %]">[% guarantorsurname %], [% guarantorfirstname %]</a></li>
268 [% IF ( guarantorborrowernumber ) %]
269 <a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=1&guarantorid=[% guarantorborrowernumber %]">Edit</a>
271 <a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=1">Edit</a>
276 <!-- Begin Upload Patron Image Section -->
278 <div id="manage-patron-image">
279 [% IF ( patronimages ) %]
280 [% IF ( CAN_user_tools_batch_upload_patron_images ) %]
281 <form method="post" action="/cgi-bin/koha/tools/picture-upload.pl" enctype="multipart/form-data">
282 <fieldset class="brief">
284 <legend>Manage Patron Image</legend>
285 <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.
287 <legend>Upload Patron Image</legend>
288 <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.
290 <br />Only PNG, GIF, JPEG, XPM formats are supported.
292 <input type="hidden" id="image" name="filetype" value="image" />
293 <input type="hidden" id="cardnumber" name="cardnumber" value="[% cardnumber %]" />
294 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
297 <label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" />
300 <fieldset class="action">
301 <input type="submit" value="Upload" class="submit" />
302 <input name="op" type="hidden" value="Upload" />
303 [% IF ( picture ) %]<a id="delpicture" href="/cgi-bin/koha/tools/picture-upload.pl?op=Delete&cardnumber=[% cardnumber %]&borrowernumber=[% borrowernumber %]" class="delete">Delete</a>[% END %]
311 <!-- End Upload Patron Image Section -->
313 [% IF ( ExtendedPatronAttributes ) %]
314 [% UNLESS ( no_patron_attribute_types ) %]
315 <div id="patron-extended-attributes" style="padding-top: 1em;">
316 <h3>Additional attributes and identifiers</h3>
317 [% FOREACH attribute IN attributes_loop %]
318 [% IF attribute.class %]
319 <div id="aai_[% attribute.class %]" class="rows">
321 <div id="aai" class="rows">
323 <h4>[% attribute.lib %]</h4>
325 [% FOREACH item IN attribute.items %]
327 <span class="label">[% item.description %]: </span>
328 [% IF ( item.value_description ) %]
329 [% item.value_description %]
331 [% item.value| html_line_break %]
339 <div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=4">Edit</a></div>
343 [% IF ( EnhancedMessagingPreferences ) %]
344 <div id="patron-messaging-prefs" style="padding-top: 1em;">
345 <h3>Patron messaging preferences</h3>
346 [% INCLUDE 'messaging-preference-form.inc' %]
347 [% IF ( SMSSendDriver ) %]
348 <div class="rows"> <ol><li><span class="label">SMS number:</span>[% SMSnumber %]
352 <div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=5">Edit</a></div>
357 <div id="patron-library-details">
361 <li><span class="label">Card number: </span>[% cardnumber %]</li>
362 <li><span class="label">Borrowernumber: </span> [% borrowernumber %]</li>
363 <li><span class="label">Category: </span>[% description %] ([% categorycode %])</li>
364 <li><span class="label">Registration date: </span>[% dateenrolled %]</li>
366 <li><span class="label">Expiration date: </span>
367 [% IF ( was_renewed ) %]
368 <strong class="reregistrinfo">[% dateexpiry %]</strong>
374 <li><span class="label">Library: </span>[% branchname %]</li>
376 [% IF ( OPACPrivacy ) %]<li><span class="label">Privacy Pref:</span>
377 [% IF ( privacy0 ) %]Forever[% END %]
378 [% IF ( privacy1 ) %]Default[% END %]
379 [% IF ( privacy2 ) %]Never[% END %]
381 [% IF ( sort1 ) %]<li><span class="label">Sort field 1:</span>[% lib1 %]</li>[% END %]
382 [% IF ( sort2 ) %]<li><span class="label">Sort field 2:</span>[% lib2 %]</li>[% END %]
383 <li><span class="label">Username: </span>[% userid %]</li>
384 <li><span class="label">Password: </span>
385 [% IF ( password ) %]
388 <span class="problem"><a href="/cgi-bin/koha/members/member-password.pl?member=[% borrowernumber %]">Undefined</a></span>
391 [% IF ( borrowernotes ) %]<li><span class="label">Circulation note: </span>[% borrowernotes %]</li>[% END %]
392 [% IF ( opacnote ) %]<li><span class="label">OPAC note:</span>[% opacnote %]</li>[% END %]
396 <div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=3">Edit</a></div>
399 <div id="patron-alternate-address" style="padding-top: 1em;">
400 <h3>Alternate address</h3>
401 <div class="rows"> <ol><li><span class="label">Address: </span>[% B_address %]</li>
402 <li><span class="label">Address 2: </span>[% B_address2 %]</li>
403 <li><span class="label">City: </span>[% B_city %]</li>
404 [% IF ( B_state ) %]<li><span class="label">State: </span>[% B_state %]</li>[% END %]
405 <li><span class="label">Zip/Postal code: </span>[% B_zipcode %]</li>
406 [% IF ( B_country ) %]<li><span class="label">Country: </span>[% B_country %]</li>[% END %]
407 [% IF ( B_phone ) %]<li><span class="label">Phone: </span>[% B_phone %]</li>[% END %]
408 [% IF ( B_email ) %]<li><span class="label">Email: </span><a href="mailto:[% B_email %]">[% email %]</a></li>[% END %]</ol></div>
410 <div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=6">Edit</a></div>
413 <div id="patron-alternative-contact" style="padding-top: 1em;">
414 <h3>Alternative contact</h3>
415 <div class="rows"> <ol><li><span class="label">Surname: </span>[% altcontactsurname %]</li>
416 <li><span class="label">First name: </span>[% altcontactfirstname %]</li>
417 <li><span class="label">Address: </span>[% altcontactaddress1 %]</li>
418 <li><span class="label">Address 2: </span>[% altcontactaddress2 %]</li>
419 <li><span class="label">City: </span>[% altcontactaddress3 %]</li>
420 [% IF ( altcontactstate ) %]<li><span class="label">State: </span>[% altcontactstate %]</li>[% END %]
421 <li><span class="label">Zip/Postal code: </span>[% altcontactzipcode %]</li>
422 [% IF ( altcontactcountry ) %]<li><span class="label">Country: </span>[% altcontactcountry %]</li>[% END %]
423 [% IF ( altcontactphone ) %]<li><span class="label">Phone: </span>[% altcontactphone %]</li>[% END %]
426 <div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=2">Edit</a></div>
431 <div id="finesholdsissues" class="toptabs">
433 <li><a href="#checkedout">[% issueloop.size %] Checkout(s)</a></li>
434 [% IF relissueloop.size %]
435 <li><a href="#relissues">Relatives' Checkouts</a></li>
437 <li><a href="#finesandcharges">Fines & Charges</a></li>
438 <li>[% IF ( countreserv ) %]
439 <a href="#onhold">[% countreserv %] Hold(s)</a> [% ELSE %]
440 <a href="#onhold">0 Holds</a>
444 <form action="/cgi-bin/koha/reserve/renewscript.pl" method="post" class="checkboxed">
445 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
446 <input type="hidden" name="branch" value="[% branch %]" />
447 <div id="checkedout">
448 [% IF ( issueloop ) %]
452 <th scope="col">Due date</th>
453 <th scope="col">Title</th>
454 <th scope="col">Item type</th>
455 <th scope="col">Checked out on</th>
456 <th scope="col">Checked out from</th>
457 <th scope="col">Call no.</th>
458 <th scope="col">Charge</th>
459 <th scope="col">Price</th>
460 <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllitems">select all</a> | <a href="#" id="CheckNoitems">none</a></p></th>
461 <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllreturns">select all</a> | <a href="#" id="CheckNoreturns">none</a></p></th>
463 [% INCLUDE 'checkouts-table-footer.inc' %]
465 [% FOREACH issueloo IN issueloop %]
467 [% IF ( issueloo.overdue ) %]
472 [% IF ( issueloo.red ) %]
477 <span title="[% issueloo.date_due %]">[% issueloo.date_due | $KohaDates %]</span>
478 [% IF ( issueloo.itemlost ) %]
479 <span class="lost">[% issueloo.itemlost %]</span>
481 [% IF ( issueloo.damaged ) %]
482 <span class="dmg">[% issueloo.itemdamaged %]</span>
485 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% issueloo.biblionumber %]"><strong>[% issueloo.title |html %]</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>
486 <td>[% UNLESS ( noItemTypeImages ) %] [% IF ( issueloo.itemtype_image ) %]<img src="[% issueloo.itemtype_image %]" alt="" />[% END %][% END %][% issueloo.itemtype_description %]</td>
487 <td><span title="[% issueloo.issuedate %]">[% issueloo.issuedate | $KohaDates%]</span></td>
488 <td>[% issueloo.issuingbranchname %]</td>
489 <td>[% issueloo.itemcallnumber %]</td>
490 <td>[% issueloo.charge %]</td>
491 <td>[% issueloo.replacementprice %]</td>
492 [% IF ( issueloo.renew_failed ) %]
493 <td class="problem">Renewal Failed</td>
495 <td><span style="padding: 0 1em;">[% IF ( issueloo.renewals ) %][% issueloo.renewals %][% ELSE %]0[% END %]</span>
496 [% IF ( issueloo.norenew ) %]
497 [% IF ( issueloo.can_confirm ) %]<span class="renewals-allowed" style="display: none">
498 <input type="checkbox" name="all_items[]" value="[% issueloo.itemnumber %]" checked="checked" style="display: none;" />
499 [% IF ( issueloo.od ) %]
500 <input type="checkbox" name="items[]" value="[% issueloo.itemnumber %]" checked="checked" />
502 <input type="checkbox" name="items[]" value="[% issueloo.itemnumber %]" />
505 <span class="renewals-disabled">
507 [% IF ( issueloo.norenew_reason_on_reserve ) %]
508 <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% issueloo.biblionumber %]">On Hold</a>
510 [% IF ( issueloo.norenew_reason_too_many ) %]
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);" />
526 [% IF ( issueloo.return_failed ) %]
527 <td class="problem">Check-in failed</td>
529 [% IF ( issueloo.norenew_reason_on_reserve ) %]
530 <td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% issueloo.biblionumber %]">On hold</a></td>
532 <td><input type="checkbox" name="barcodes[]" value="[% issueloo.barcode %]" onclick="uncheck_sibling(this);" />
533 <input type="checkbox" name="all_barcodes[]" value="[% issueloo.barcode %]" checked="checked" style="display: none;" />
541 <fieldset class="action">
542 [% IF ( CAN_user_circulate_override_renewals ) %]
543 [% IF ( AllowRenewalLimitOverride ) %]
544 <label for="override_limit">Override renewal limit:</label>
545 <input type="checkbox" name="override_limit" id="override_limit" value="1" />
548 <input type="submit" name="renew_checked" value="Renew or return checked items" />
549 <input type="submit" id="renew_all" name="renew_all" value="Renew all" />
551 [% ELSE %]<p>Patron has nothing checked out.</p>
556 [% IF relissueloop %]
558 <table id="relissuest">
561 <th scope="col">Due date</th>
562 <th scope="col">Title</th>
563 <th scope="col">Item type</th>
564 <th scope="col">Checked out on</th>
565 <th scope="col">Checked out from</th>
566 <th scope="col">Call no.</th>
567 <th scope="col">Charge</th>
568 <th scope="col">Price</th>
569 <th scope="col">Patron</th>
573 [% FOREACH relissueloo IN relissueloop %]
575 [% IF ( relissueloo.overdue ) %]
580 [% IF ( relissueloo.red ) %]
585 <span title="[% relissueloo.date_due %]">[% relissueloo.date_due | $KohaDates %]</span>
586 [% IF ( relissueloo.itemlost ) %]
587 <span class="lost">[% relissueloo.itemlost %]</span>
589 [% IF ( relissueloo.damaged ) %]
590 <span class="dmg">[% relissueloo.itemdamaged %]</span>
593 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% relissueloo.biblionumber %]"><strong>[% relissueloo.title |html %]</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>
594 <td>[% UNLESS ( noItemTypeImages ) %] [% IF ( relissueloo.itemtype_image ) %]<img src="[% relissueloo.itemtype_image %]" alt="" />[% END %][% END %][% relissueloo.itemtype_description %]</td>
595 <td><span title="[% relissueloo.issuedate %]">[% relissueloo.issuedate | $KohaDates %]</span></td>
596 <td>[% relissueloo.issuingbranchname %]</td>
597 <td>[% relissueloo.itemcallnumber %]</td>
598 <td>[% relissueloo.charge %]</td>
599 <td>[% relissueloo.replacementprice %]</td>
600 <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% relissueloo.borrowernumber %]">[% relissueloo.firstname %] [% relissueloo.surname %] ([% relissueloo.cardnumber %])</a></td>
609 <div id="finesandcharges">
610 [% IF ( totaldue_raw ) %]
611 <p>Total due: [% totaldue %]</p>
613 <p>No outstanding charges</p>
618 [% IF ( reservloop ) %]
619 <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
620 <input type="hidden" name="from" value="borrower" />
631 <tbody>[% FOREACH reservloo IN reservloop %]
632 <tr class="[% reservloo.color %]">
633 <td><span title="[% reservloo.reservedate %]">[% reservloo.reservedate | $KohaDates %]</span></td>
635 <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% reservloo.biblionumber %]">[% reservloo.title |html %]</a>[% IF ( reservloo.author ) %], by [% reservloo.author %][% END %]
637 <td>[% reservloo.itemcallnumber %]</td>
638 <td>[% IF ( reservloo.waiting ) %]
639 <em>Item is <strong>waiting</strong></em>
641 [% IF ( reservloo.transfered ) %]
642 <em>Item <strong>in transit</strong> from
643 [% reservloo.frombranch %] since [% reservloo.datesent %] </em>
646 [% IF ( reservloo.nottransfered ) %]
647 <em>Item hasn't been transferred yet from [% reservloo.nottransferedby %]</em>
649 [% IF ( reservloo.barcodereserv ) %]
650 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% reservloo.biblionumber %]">[% reservloo.barcodereserv %]</a>
653 <td>[% IF ( reservloo.waitingposition ) %]<strong>[% reservloo.waitingposition %]</strong>[% END %]</td>
654 <td><select name="rank-request">
655 <option value="n">No</option>
656 <option value="del">Yes</option>
658 <input type="hidden" name="biblionumber" value="[% reservloo.biblionumber %]" />
659 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
661 <td>[% IF ( reservloo.suspend ) %]Suspended [% IF ( reservloo.suspend_until ) %] until [% reservloo.suspend_until | $KohaDates %][% END %][% END %]</td>
666 <fieldset class="action"><input type="submit" class="cancel" name="submit" value="Cancel marked holds" /></fieldset>
669 [% IF SuspendHoldsIntranet %]
670 <fieldset class="action">
671 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
672 <input type="hidden" name="from" value="borrower" />
673 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
674 <input type="submit" value="Suspend all holds" />
676 [% IF AutoResumeSuspendedHolds %]
677 <label for="suspend_until">until</label>
678 <input type="text" size="10" id="suspend_until" name="suspend_until"/>
679 <span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span>
684 <fieldset class="action">
685 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
686 <input type="hidden" name="from" value="borrower" />
687 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
688 <input type="hidden" name="suspend" value="0" />
689 <input type="submit" value="Resume all suspended holds" />
692 [% END # IF SuspendHoldsIntranet %]
694 [% ELSE %]<p>Patron has nothing on hold.</p>[% END %]
698 [% END %] <!-- unknowuser -->
704 [% INCLUDE 'circ-menu.inc' %]
707 [% INCLUDE 'intranet-bottom.inc' %]