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="/intranet-tmpl/prog/en/css/datatables.css" />
13 <script type="text/javascript" src="/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js"></script>
14 [% INCLUDE 'datatables-strings.inc' %]
15 <script type="text/javascript" src="/intranet-tmpl/prog/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 }
38 $("#relissuest").dataTable($.extend(true, {}, dataTablesDefaults, {
41 { "aTargets": [ 0,8 ], "bSortable": false, "bSearchable": false }
45 $("#holdst").dataTable($.extend(true, {}, dataTablesDefaults, {
48 { "aTargets": [ -1,-2 ], "bSortable": false, "bSearchable": false }
53 // new YAHOO.widget.Button("delpicture"); // FIXME: formatting mismatch between YUI and normal button
54 $('#delpicture').click(function(){
55 return confirm(_("Are you sure you want to delete this patron image? This cannot be undone."));
57 $('#manage-patron-image').find("input[value*=Upload]").click(function(){
58 if($("#uploadfile").val() == ""){
59 alert(_("Please choose a file to upload"));
62 return confirm(_("Are you sure you want to replace the current patron image? This cannot be undone."));
64 $("#renew_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); });
65 $("#CheckAllitems" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; });
66 $("#CheckNoitems" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; });
67 $("#CheckAllreturns").click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; });
68 $("#CheckNoreturns" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; });
70 $("#relrenew_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); });
71 $("#relCheckAllitems" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; });
72 $("#relCheckNoitems" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; });
73 $("#relCheckAllreturns").click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; });
74 $("#relCheckNoreturns" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; });
77 [% IF ( CAN_user_circulate_override_renewals ) %]
78 [% IF ( AllowRenewalLimitOverride ) %]
79 $( '#override_limit' ).click( function () {
81 $( '.renewals-allowed' ).show(); $( '.renewals-disabled' ).hide();
83 $( '.renewals-allowed' ).hide(); $( '.renewals-disabled' ).show();
85 } ).attr( 'checked', false );
88 $("td").click(function(e){
89 if(e.target.tagName.toLowerCase() == 'td'){
90 $(this).find("input:checkbox").each( function() {
91 $(this).attr('checked', !$(this).attr('checked'));
92 if($(this).attr('checked')){
93 $(this).parent().siblings().find("input:checkbox").each(function(){
94 if($(this).attr('checked')){ $(this).removeAttr('checked'); }
100 $("#suspend_until").datepicker({ minDate: 1 }); // require that hold suspended until date is after today
101 $("#newduedate").datetimepicker({
102 minDate: 1, // require that renewal date is after today
107 function uncheck_sibling(me){
108 nodename=me.getAttribute("name");
109 if (nodename =="barcodes[]"){
110 var Node=me.parentNode.previousSibling;
111 while (Node.nodeName!="TD"){Node=Node.previousSibling}
112 var Nodes=Node.childNodes;
113 for (var i=0;i<Nodes.length;i++){
114 if (Nodes[i].nodeName=="INPUT" && Nodes[i].getAttribute("type")=="checkbox"){
115 Nodes[i].checked=false;
120 var Node=me.parentNode.nextSibling;
121 while (Node.nodeName!="TD"){Node=Node.nextSibling}
122 var Nodes=Node.childNodes;
123 for (var i=0;i<Nodes.length;i++){
124 if (Nodes[i].nodeName=="INPUT" && Nodes[i].getAttribute("type")=="checkbox"){
125 Nodes[i].checked=false;
130 function validate1(date) {
131 var today = new Date();
132 if ( date < today ) {
142 <body id="pat_moremember" class="pat">
143 [% INCLUDE 'header.inc' %]
144 [% INCLUDE 'patron-search.inc' %]
146 <div id="breadcrumbs">
147 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
148 › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
149 › [% IF ( unknowuser ) %]Patron does not exist[% ELSE %]Patron details for [% INCLUDE 'patron-title.inc' %][% END %]
152 <div id="doc3" class="yui-t1">
157 [% INCLUDE 'members-toolbar.inc' %]
159 <div class="dialog alert">
160 [% IF ( AUTH_UPDATE_FAILED ) %]
161 <h3>Userid / Password update failed</h3>
162 <strong>Insufficient privileges.</strong>
163 <p>Other fields updated.</p>
165 [% IF ( CANT_DELETE_STAFF ) %]
166 <h3>Unable to delete staff user</h3>
167 <p>Insufficient privileges.</p>
169 [% IF ( CANT_DELETE_OTHERLIBRARY ) %]
170 <h3>Unable to delete patrons from other libraries with current settings</h3>
171 <p>Insufficient privileges.</p>
173 [% IF ( CANT_DELETE ) %]
174 <h3>Unable to delete patron</h3>
175 <p>Insufficient privileges.</p>
181 [% IF ( unknowuser ) %]
182 <div class="dialog message">This patron does not exist.</div>
184 [% IF ( reregistration ) %]<div class="dialog message">Patron's account has been renewed until [% dateexpiry %]</div>[% END %]
188 [% IF ( userdebarred ) %]
189 <li>Patron is restricted[% IF ( userdebarreddate ) %] until [% userdebarreddate%] [% IF (debarredcomment ) %]([% debarredcomment %])[% END %][% END %]
190 <form class="inline compact" action="/cgi-bin/koha/members/setdebar.pl" method="post">
191 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
192 <input type="submit" value="Lift restriction" />
196 [% IF ( gonenoaddress ) %]<li>Patron's address is in doubt.</li>[% END %]
197 [% IF ( lost ) %]<li>Patron's card has been reported lost.</li>[% END %]
201 <h3>[% UNLESS ( I ) %]
202 [% title %] [% firstname %] [% END %] [% surname %] ([% cardnumber %])</h3>
203 <div class="yui-u first">
204 <div id="patron-information" style="padding : .5em;">
206 [% UNLESS ( I ) %][% IF ( othernames ) %]“[% othernames %]”[% END %]
208 <p class="address">[% streetnumber %]
209 [% IF ( roaddetails ) %]
213 [% IF ( address2 ) %][% address2 %]<br />[% END %]
214 [% IF ( city ) %][% city %][% END %]
215 [% IF ( state ) %][% state %][% END %]
216 [% IF ( zipcode ) %][% zipcode %]<br />[% END %]
217 [% IF ( country ) %][% country %][% END %]</p>
222 [% IF ( phonepro ) %]<li><span class="label">Organization phone: </span>[% phonepro %]</li>[% END %]
223 [% IF ( emailpro ) %]<li><span class="label">Organization email: </span>[% emailpro %]</li>[% END %]
225 [% IF ( phone ) %]<li><span class="label">Primary phone: </span>[% phone %]</li>[% END %]
226 [% IF ( mobile ) %]<li><span class="label">Secondary phone: </span>[% mobile %]</li>[% END %]
227 [% IF ( phonepro ) %]<li><span class="label">Other phone: </span>[% phonepro %]</li>[% END %]
231 [% IF ( phone ) %]<li><span class="label">Primary phone: </span>[% phone %]</li>[% END %]
232 [% IF ( mobile ) %]<li><span class="label">Secondary phone: </span>[% mobile %]</li>[% END %]
234 [% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax %]</li>[% END %]
236 [% IF ( email ) %]<li><span class="label">Primary email:</span><a href="mailto:[% email %]">[% email %]</a></li>[% END %]
237 [% IF ( emailpro ) %]<li><span class="label">Secondary email: </span><a href="mailto:[% emailpro %]">[% emailpro %]</a></li>[% END %]
239 [% IF ( initials ) %]<li><span class="label">Initials: </span>[% initials %]</li>[% END %]
240 [% IF ( dateofbirth ) %]<li><span class="label">Date of birth:</span>[% dateofbirth %]</li>[% END %]
241 [% IF ( sex ) %]<li><span class="label">Gender:</span>
242 [% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %]
243 </li>[% END %][% END %]
244 [% IF ( printethnicityline ) %]
245 <li><span class="label">Ethnicity:</span>[% ethnicity %]</li>
246 <li><span class="label">Ethnicity notes: </span>[% ethnotes %]</li>
248 [% IF ( isguarantee ) %]
249 [% IF ( guaranteeloop ) %]
250 <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>
253 [% IF ( guarantorborrowernumber ) %]
254 <li><span class="label">Guarantor:</span><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorborrowernumber %]">[% guarantorsurname %], [% guarantorfirstname %]</a></li>
260 [% IF ( guarantorborrowernumber ) %]
261 <a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=1&guarantorid=[% guarantorborrowernumber %]">Edit</a>
263 <a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=1">Edit</a>
268 <!-- Begin Upload Patron Image Section -->
270 <div id="manage-patron-image">
271 [% IF ( patronimages ) %]
272 [% IF ( CAN_user_tools_batch_upload_patron_images ) %]
273 <form method="post" action="/cgi-bin/koha/tools/picture-upload.pl" enctype="multipart/form-data">
274 <fieldset class="brief">
276 <legend>Manage Patron Image</legend>
277 <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.
279 <legend>Upload Patron Image</legend>
280 <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.
282 <br />Only PNG, GIF, JPEG, XPM formats are supported.
284 <input type="hidden" id="image" name="filetype" value="image" />
285 <input type="hidden" id="cardnumber" name="cardnumber" value="[% cardnumber %]" />
286 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
289 <label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" />
292 <fieldset class="action">
293 <input type="submit" value="Upload" class="submit" />
294 <input name="op" type="hidden" value="Upload" />
295 [% IF ( picture ) %]<a id="delpicture" href="/cgi-bin/koha/tools/picture-upload.pl?op=Delete&cardnumber=[% cardnumber %]&borrowernumber=[% borrowernumber %]" class="delete">Delete</a>[% END %]
303 <!-- End Upload Patron Image Section -->
305 [% IF ( ExtendedPatronAttributes ) %]
306 [% UNLESS ( no_patron_attribute_types ) %]
307 <div id="patron-extended-attributes" style="padding-top: 1em;">
308 <h3>Additional attributes and identifiers</h3>
309 [% FOREACH attribute IN attributes_loop %]
310 [% IF attribute.class %]
311 <div id="aai_[% attribute.class %]" class="rows">
313 <div id="aai" class="rows">
315 <h4>[% attribute.lib %]</h4>
317 [% FOREACH item IN attribute.items %]
319 <span class="label">[% item.description %]: </span>
320 [% IF ( item.value_description ) %]
321 [% item.value_description %]
323 [% item.value| html_line_break %]
331 <div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=4">Edit</a></div>
335 [% IF ( EnhancedMessagingPreferences ) %]
336 <div id="patron-messaging-prefs" style="padding-top: 1em;">
337 <h3>Patron messaging preferences</h3>
338 [% INCLUDE 'messaging-preference-form.inc' %]
339 [% IF ( SMSSendDriver ) %]
340 <div class="rows"> <ol><li><span class="label">SMS number:</span>[% SMSnumber %]
344 <div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=5">Edit</a></div>
349 <div id="patron-library-details">
353 <li><span class="label">Card number: </span>[% cardnumber %]</li>
354 <li><span class="label">Borrowernumber: </span> [% borrowernumber %]</li>
355 <li><span class="label">Category: </span>[% description %] ([% categorycode %])</li>
356 <li><span class="label">Registration date: </span>[% dateenrolled %]</li>
358 <li><span class="label">Expiration date: </span>
359 [% IF ( reregistration ) %]
360 <strong class="reregistrinfo">[% dateexpiry %]</strong>
366 <li><span class="label">Library: </span>[% branchname %]</li>
368 [% IF ( OPACPrivacy ) %]<li><span class="label">Privacy Pref:</span>
369 [% IF ( privacy0 ) %]Forever[% END %]
370 [% IF ( privacy1 ) %]Default[% END %]
371 [% IF ( privacy2 ) %]Never[% END %]
373 [% IF ( sort1 ) %]<li><span class="label">Sort field 1:</span>[% lib1 %]</li>[% END %]
374 [% IF ( sort2 ) %]<li><span class="label">Sort field 2:</span>[% lib2 %]</li>[% END %]
375 <li><span class="label">Username: </span>[% userid %]</li>
376 <li><span class="label">Password: </span>
377 [% IF ( password ) %]
380 <span class="problem"><a href="/cgi-bin/koha/members/member-password.pl?member=[% borrowernumber %]">Undefined</a></span>
383 [% IF ( borrowernotes ) %]<li><span class="label">Circulation note: </span>[% borrowernotes %]</li>[% END %]
384 [% IF ( opacnote ) %]<li><span class="label">OPAC note:</span>[% opacnote %]</li>[% END %]
388 <div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=3">Edit</a></div>
391 <div id="patron-alternate-address" style="padding-top: 1em;">
392 <h3>Alternate address</h3>
393 <div class="rows"> <ol><li><span class="label">Address: </span>[% B_address %]</li>
394 <li><span class="label">Address 2: </span>[% B_address2 %]</li>
395 <li><span class="label">City: </span>[% B_city %]</li>
396 [% IF ( B_state ) %]<li><span class="label">State: </span>[% B_state %]</li>[% END %]
397 <li><span class="label">Zip/Postal code: </span>[% B_zipcode %]</li>
398 [% IF ( B_country ) %]<li><span class="label">Country: </span>[% B_country %]</li>[% END %]
399 [% IF ( B_phone ) %]<li><span class="label">Phone: </span>[% B_phone %]</li>[% END %]
400 [% IF ( B_email ) %]<li><span class="label">Email: </span><a href="mailto:[% B_email %]">[% email %]</a></li>[% END %]</ol></div>
402 <div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=6">Edit</a></div>
405 <div id="patron-alternative-contact" style="padding-top: 1em;">
406 <h3>Alternative contact</h3>
407 <div class="rows"> <ol><li><span class="label">Surname: </span>[% altcontactsurname %]</li>
408 <li><span class="label">First name: </span>[% altcontactfirstname %]</li>
409 <li><span class="label">Address: </span>[% altcontactaddress1 %]</li>
410 <li><span class="label">Address 2: </span>[% altcontactaddress2 %]</li>
411 <li><span class="label">City: </span>[% altcontactaddress3 %]</li>
412 [% IF ( altcontactstate ) %]<li><span class="label">State: </span>[% altcontactstate %]</li>[% END %]
413 <li><span class="label">Zip/Postal code: </span>[% altcontactzipcode %]</li>
414 [% IF ( altcontactcountry ) %]<li><span class="label">Country: </span>[% altcontactcountry %]</li>[% END %]
415 [% IF ( altcontactphone ) %]<li><span class="label">Phone: </span>[% altcontactphone %]</li>[% END %]
418 <div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=2">Edit</a></div>
423 <div id="finesholdsissues" class="toptabs">
425 <li><a href="#checkedout">[% issueloop.size %] Checkout(s)</a></li>
426 [% IF relissueloop.size %]
427 <li><a href="#relissues">Relatives' Checkouts</a></li>
429 <li><a href="#finesandcharges">Fines & Charges</a></li>
430 <li>[% IF ( countreserv ) %]
431 <a href="#onhold">[% countreserv %] Hold(s)</a> [% ELSE %]
432 <a href="#onhold">0 Holds</a>
436 <form action="/cgi-bin/koha/reserve/renewscript.pl" method="post" class="checkboxed">
437 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
438 <input type="hidden" name="branch" value="[% branch %]" />
439 <div id="checkedout">
440 [% IF ( issueloop ) %]
444 <th scope="col">Due date</th>
445 <th scope="col">Title</th>
446 <th scope="col">Item type</th>
447 <th scope="col">Checked out on</th>
448 <th scope="col">Checked out from</th>
449 <th scope="col">Call no.</th>
450 <th scope="col">Charge</th>
451 <th scope="col">Price</th>
452 <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllitems">select all</a> | <a href="#" id="CheckNoitems">none</a></p></th>
453 <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllreturns">select all</a> | <a href="#" id="CheckNoreturns">none</a></p></th>
455 [% INCLUDE 'checkouts-table-footer.inc' %]
457 [% FOREACH issueloo IN issueloop %]
459 [% IF ( issueloo.overdue ) %]
464 [% IF ( issueloo.red ) %]
469 [% issueloo.date_due %]
470 [% IF ( issueloo.itemlost ) %]
471 <span class="lost">[% issueloo.itemlost %]</span>
473 [% IF ( issueloo.damaged ) %]
474 <span class="dmg">[% issueloo.itemdamaged %]</span>
477 <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>
478 <td>[% UNLESS ( noItemTypeImages ) %] [% IF ( issueloo.itemtype_image ) %]<img src="[% issueloo.itemtype_image %]" alt="" />[% END %][% END %][% issueloo.itemtype_description %]</td>
479 <td>[% issueloo.issuedate %]</td>
480 <td>[% issueloo.issuingbranchname %]</td>
481 <td>[% issueloo.itemcallnumber %]</td>
482 <td>[% issueloo.charge %]</td>
483 <td>[% issueloo.replacementprice %]</td>
484 [% IF ( issueloo.renew_failed ) %]
485 <td class="problem">Renewal Failed</td>
487 <td><span style="padding: 0 1em;">[% IF ( issueloo.renewals ) %][% issueloo.renewals %][% ELSE %]0[% END %]</span>
488 [% IF ( issueloo.norenew ) %]
489 [% IF ( issueloo.can_confirm ) %]<span class="renewals-allowed" style="display: none">
490 <input type="checkbox" name="all_items[]" value="[% issueloo.itemnumber %]" checked="checked" style="display: none;" />
491 [% IF ( issueloo.od ) %]
492 <input type="checkbox" name="items[]" value="[% issueloo.itemnumber %]" checked="checked" />
494 <input type="checkbox" name="items[]" value="[% issueloo.itemnumber %]" />
497 <span class="renewals-disabled">
499 [% IF ( issueloo.norenew_reason_on_reserve ) %]
500 <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% issueloo.biblionumber %]">On Hold</a>
502 [% IF ( issueloo.norenew_reason_too_many ) %]
505 [% IF ( issueloo.can_confirm ) %]
509 <input type="checkbox" name="all_items[]" value="[% issueloo.itemnumber %]" checked="checked" style="display: none;" />
510 [% IF ( issueloo.red ) %]
511 <input type="checkbox" name="items[]" value="[% issueloo.itemnumber %]" checked="checked" onclick="uncheck_sibling(this);" />
513 <input type="checkbox" name="items[]" value="[% issueloo.itemnumber %]" onclick="uncheck_sibling(this);" />
518 [% IF ( issueloo.return_failed ) %]
519 <td class="problem">Check-in failed</td>
521 [% IF ( issueloo.norenew_reason_on_reserve ) %]
522 <td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% issueloo.biblionumber %]">On hold</a></td>
524 <td><input type="checkbox" name="barcodes[]" value="[% issueloo.barcode %]" onclick="uncheck_sibling(this);" />
525 <input type="checkbox" name="all_barcodes[]" value="[% issueloo.barcode %]" checked="checked" style="display: none;" />
533 <fieldset class="action">
534 [% IF ( CAN_user_circulate_override_renewals ) %]
535 [% IF ( AllowRenewalLimitOverride ) %]
536 <label for="override_limit">Override renewal limit:</label>
537 <input type="checkbox" name="override_limit" id="override_limit" value="1" />
540 <input type="submit" name="renew_checked" value="Renew or return checked items" />
541 <input type="submit" id="renew_all" name="renew_all" value="Renew all" />
543 [% ELSE %]<p>Patron has nothing checked out.</p>
548 [% IF relissueloop %]
550 <table id="relissuest">
553 <th scope="col">Due date</th>
554 <th scope="col">Title</th>
555 <th scope="col">Item type</th>
556 <th scope="col">Checked out on</th>
557 <th scope="col">Checked out from</th>
558 <th scope="col">Call no.</th>
559 <th scope="col">Charge</th>
560 <th scope="col">Price</th>
561 <th scope="col">Patron</th>
565 [% FOREACH relissueloo IN relissueloop %]
567 [% IF ( relissueloo.overdue ) %]
572 [% IF ( relissueloo.red ) %]
577 [% relissueloo.date_due %]
578 [% IF ( relissueloo.itemlost ) %]
579 <span class="lost">[% relissueloo.itemlost %]</span>
581 [% IF ( relissueloo.damaged ) %]
582 <span class="dmg">[% relissueloo.itemdamaged %]</span>
585 <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>
586 <td>[% UNLESS ( noItemTypeImages ) %] [% IF ( relissueloo.itemtype_image ) %]<img src="[% relissueloo.itemtype_image %]" alt="" />[% END %][% END %][% relissueloo.itemtype_description %]</td>
587 <td>[% relissueloo.issuedate %]</td>
588 <td>[% relissueloo.issuingbranchname %]</td>
589 <td>[% relissueloo.itemcallnumber %]</td>
590 <td>[% relissueloo.charge %]</td>
591 <td>[% relissueloo.replacementprice %]</td>
592 <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% relissueloo.borrowernumber %]">[% relissueloo.firstname %] [% relissueloo.surname %] ([% relissueloo.cardnumber %])</a></td>
601 <div id="finesandcharges">
602 [% IF ( totaldue_raw ) %]
603 <p>Total due: [% totaldue %]</p>
605 <p>No outstanding charges</p>
610 [% IF ( reservloop ) %]
611 <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
612 <input type="hidden" name="from" value="borrower" />
623 <tbody>[% FOREACH reservloo IN reservloop %]
624 <tr class="[% reservloo.color %]">
625 <td>[% reservloo.reservedate %]</td>
627 <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% reservloo.biblionumber %]">[% reservloo.title |html %]</a>[% IF ( reservloo.author ) %], by [% reservloo.author %][% END %]
629 <td>[% reservloo.itemcallnumber %]</td>
630 <td>[% IF ( reservloo.waiting ) %]
631 <em>Item is <strong>waiting</strong></em>
633 [% IF ( reservloo.transfered ) %]
634 <em>Item <strong>in transit</strong> from
635 [% reservloo.frombranch %] since [% reservloo.datesent %] </em>
638 [% IF ( reservloo.nottransfered ) %]
639 <em>Item hasn't been transferred yet from [% reservloo.nottransferedby %]</em>
641 [% IF ( reservloo.barcodereserv ) %]
642 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% reservloo.biblionumber %]">[% reservloo.barcodereserv %]</a>
645 <td>[% IF ( reservloo.waitingposition ) %]<strong>[% reservloo.waitingposition %]</strong>[% END %]</td>
646 <td><select name="rank-request">
647 <option value="n">No</option>
648 <option value="del">Yes</option>
650 <input type="hidden" name="biblionumber" value="[% reservloo.biblionumber %]" />
651 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
653 <td>[% IF ( reservloo.suspend ) %]Suspended [% IF ( reservloo.suspend_until ) %] until [% reservloo.suspend_until | $KohaDates %][% END %][% END %]</td>
658 <fieldset class="action"><input type="submit" class="cancel" name="submit" value="Cancel marked holds" /></fieldset>
661 [% IF SuspendHoldsIntranet %]
662 <fieldset class="action">
663 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
664 <input type="hidden" name="from" value="borrower" />
665 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
666 <input type="submit" value="Suspend all holds" />
668 [% IF AutoResumeSuspendedHolds %]
669 <label for="suspend_until">until</label>
670 <input type="text" size="10" id="suspend_until" name="suspend_until"/>
671 <span class="hint">Specify date on which to resume [% INCLUDE 'date-format.inc' %]: </span>
676 <fieldset class="action">
677 <form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
678 <input type="hidden" name="from" value="borrower" />
679 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
680 <input type="hidden" name="suspend" value="0" />
681 <input type="submit" value="Resume all suspended holds" />
684 [% END # IF SuspendHoldsIntranet %]
686 [% ELSE %]<p>Patron has nothing on hold.</p>[% END %]
690 [% END %] <!-- unknowuser -->
696 [% INCLUDE 'circ-menu.inc' %]
699 [% INCLUDE 'intranet-bottom.inc' %]