d63eda645c
Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
632 lines
33 KiB
Cheetah
632 lines
33 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Patrons › <!-- TMPL_IF NAME="unknowuser" -->Patron does not exist<!-- TMPL_ELSE -->Patron Details for <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)<!-- /TMPL_IF --></title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="calendar.inc" -->
|
|
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
|
|
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
|
|
<script type="text/JavaScript" language="JavaScript">
|
|
//<![CDATA[
|
|
$.tablesorter.addParser({
|
|
id: 'articles',
|
|
is: function(s) {return false; },
|
|
format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); },
|
|
type: 'text'
|
|
});
|
|
$(document).ready(function() {
|
|
$('#finesholdsissues > ul').tabs();
|
|
$.tablesorter.defaults.widgets = ['zebra'];
|
|
$("#issuest").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" -->
|
|
dateFormat: 'uk',<!-- /TMPL_IF -->
|
|
headers: { 1: { sorter: 'articles' }}
|
|
});
|
|
$("#relissuest").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" -->
|
|
dateFormat: 'uk',<!-- /TMPL_IF -->
|
|
headers: { 1: { sorter: 'articles' }}
|
|
});
|
|
$("#holdst").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" -->
|
|
dateFormat: 'uk',<!-- /TMPL_IF -->
|
|
sortList: [[0,0]],
|
|
headers: { 1: { sorter: 'articles' },6: { sorter: false }}
|
|
});
|
|
<!-- TMPL_IF NAME="picture" -->
|
|
// new YAHOO.widget.Button("delpicture"); // FIXME: formatting mismatch between YUI and normal button
|
|
$('#delpicture').click(function(){
|
|
return confirm(_('Are you sure you want to delete this patron image? This cannot be undone.'));
|
|
});
|
|
$('#manage-patron-image').find("input[value*=Upload]").click(function(){
|
|
if($("#uploadfile").val() == ""){
|
|
alert(_("Please choose a file to upload"));
|
|
return false;
|
|
}
|
|
return confirm(_('Are you sure you want to replace the current patron image? This cannot be undone.'));
|
|
});<!-- /TMPL_IF -->
|
|
$("#renew_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); });
|
|
$("#CheckAllitems" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; });
|
|
$("#CheckNoitems" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; });
|
|
$("#CheckAllreturns").click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; });
|
|
$("#CheckNoreturns" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; });
|
|
|
|
$("#relrenew_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); });
|
|
$("#relCheckAllitems" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; });
|
|
$("#relCheckNoitems" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; });
|
|
$("#relCheckAllreturns").click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; });
|
|
$("#relCheckNoreturns" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; });
|
|
|
|
|
|
<!-- TMPL_IF NAME="CAN_user_circulate_override_renewals" -->
|
|
<!-- TMPL_IF NAME="AllowRenewalLimitOverride" -->
|
|
$( '#override_limit' ).click( function () {
|
|
if ( this.checked ) {
|
|
$( '.renewals-allowed' ).show(); $( '.renewals-disabled' ).hide();
|
|
} else {
|
|
$( '.renewals-allowed' ).hide(); $( '.renewals-disabled' ).show();
|
|
}
|
|
} ).attr( 'checked', false );
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
$("td").click(function(e){
|
|
if(e.target.tagName.toLowerCase() == 'td'){
|
|
$(this).find("input:checkbox").each( function() {
|
|
$(this).attr('checked', !$(this).attr('checked'));
|
|
if($(this).attr('checked')){
|
|
$(this).parent().siblings().find("input:checkbox").each(function(){
|
|
if($(this).attr('checked')){ $(this).attr('checked',''); }
|
|
});
|
|
}
|
|
});
|
|
}
|
|
});
|
|
});
|
|
function uncheck_sibling(me){
|
|
nodename=me.getAttribute("name");
|
|
if (nodename =="barcodes[]"){
|
|
var Node=me.parentNode.previousSibling;
|
|
while (Node.nodeName!="TD"){Node=Node.previousSibling}
|
|
var Nodes=Node.childNodes;
|
|
for (var i=0;i<Nodes.length;i++){
|
|
if (Nodes[i].nodeName=="INPUT" && Nodes[i].getAttribute("type")=="checkbox"){
|
|
Nodes[i].checked=false;
|
|
}
|
|
}
|
|
|
|
}else {
|
|
var Node=me.parentNode.nextSibling;
|
|
while (Node.nodeName!="TD"){Node=Node.nextSibling}
|
|
var Nodes=Node.childNodes;
|
|
for (var i=0;i<Nodes.length;i++){
|
|
if (Nodes[i].nodeName=="INPUT" && Nodes[i].getAttribute("type")=="checkbox"){
|
|
Nodes[i].checked=false;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
function validate1(date) {
|
|
var today = new Date();
|
|
if ( date < today ) {
|
|
return true;
|
|
} else {
|
|
return false;
|
|
}
|
|
};
|
|
//]]>
|
|
</script>
|
|
|
|
</head>
|
|
<body>
|
|
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="patron-search.inc" -->
|
|
|
|
<div id="breadcrumbs">
|
|
<a href="/cgi-bin/koha/mainpage.pl">Home</a>
|
|
› <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
|
|
› <!-- TMPL_IF NAME="unknowuser" -->Patron does not exist<!-- TMPL_ELSE -->Patron Details for <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)<!-- /TMPL_IF -->
|
|
</div>
|
|
|
|
<div id="doc3" class="yui-t1">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
<!-- TMPL_INCLUDE NAME="members-toolbar.inc" -->
|
|
<!-- TMPL_IF NAME="error" -->
|
|
<div class="dialog alert">
|
|
<!-- TMPL_IF NAME="AUTH_UPDATE_FAILED" -->
|
|
<h3>Userid / Password update failed</h3>
|
|
<strong>Insufficient privileges.</strong>
|
|
<p>Other fields updated.</p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="CANT_DELETE_STAFF" -->
|
|
<h3>Unable to delete staff user</h3>
|
|
<p>Insufficient privileges.</p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="CANT_DELETE_OTHERLIBRARY" -->
|
|
<h3>Unable to delete patrons from other libraries with current settings</h3>
|
|
<p>Insufficient privileges.</p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="CANT_DELETE" -->
|
|
<h3>Unable to delete patron</h3>
|
|
<p>Insufficient privileges.</p>
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
<!-- /TMPL_IF -->
|
|
<div class="yui-g">
|
|
|
|
<!-- TMPL_IF NAME="unknowuser" -->
|
|
<div class="dialog message">This patron does not exist.</div>
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_IF NAME="reregistration" --><div class="dialog message">Patron's account has been renewed until <!-- TMPL_VAR NAME="dateexpiry" --></div><!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="flagged" -->
|
|
<ul>
|
|
<!-- TMPL_IF NAME="debarred" -->
|
|
<li>Patron is restricted
|
|
<form class="inline compact" action="/cgi-bin/koha/members/setdebar.pl" method="post">
|
|
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
|
|
<input type="hidden" name="status" value="0" />
|
|
<input type="submit" value="Lift Debarment" />
|
|
</form>
|
|
</li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="gonenoaddress" --><li>Patron's address is in doubt.</li><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="lost" --><li>Patron's card has been reported lost.</li><!-- /TMPL_IF -->
|
|
</ul>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<h3><!-- TMPL_UNLESS NAME="I" -->
|
|
<!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- /TMPL_UNLESS --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</h3>
|
|
<div class="yui-u first">
|
|
<div id="patron-information" style="padding : .5em;">
|
|
|
|
<!-- TMPL_UNLESS NAME="I" --><!-- TMPL_IF NAME="othernames" -->“<!-- TMPL_VAR NAME="othernames" -->”<!-- /TMPL_IF -->
|
|
|
|
<p class="address"><!-- TMPL_VAR NAME="streetnumber" -->
|
|
<!--TMPL_IF NAME="roaddetails"-->
|
|
<!-- TMPL_VAR NAME="roaddetails" -->,
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_VAR NAME="address" --><br />
|
|
<!-- TMPL_IF NAME="address2" --><!-- TMPL_VAR NAME="address2"--><br /><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="city" --><!-- TMPL_VAR NAME="city" --><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="zipcode" --><!-- TMPL_VAR NAME="zipcode" --><br /><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="country" --><!-- TMPL_VAR NAME="country" --><!-- /TMPL_IF --></p>
|
|
|
|
<div class="rows">
|
|
<ol>
|
|
<!-- TMPL_IF NAME="I" -->
|
|
<!-- TMPL_IF NAME="phonepro" --><li><span class="label">Organization phone: </span><!-- TMPL_VAR NAME="phonepro" --></li><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="emailpro" --><li><span class="label">Organization email: </span><!-- TMPL_VAR NAME="emailpro" --></li><!-- /TMPL_IF -->
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_IF NAME="phone" --><li><span class="label">Home: </span><!-- TMPL_VAR NAME="phone" --></li><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="mobile" --><li><span class="label">Mobile: </span><!-- TMPL_VAR NAME="mobile" --></li><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="phonepro" --><li><span class="label">Work: </span><!-- TMPL_VAR NAME="phonepro" --></li><!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="P"-->
|
|
<!-- TMPL_IF NAME="phone" --><li><span class="label">Professional phone: </span><!-- TMPL_VAR NAME="phone" --></li><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="mobile" --><li><span class="label">Professional mobile: </span><!-- TMPL_VAR NAME="mobile" --></li><!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="fax" --><li><span class="label">Fax: </span><!-- TMPL_VAR NAME="fax" --></li><!-- /TMPL_IF -->
|
|
<!-- TMPL_UNLESS NAME="I"-->
|
|
<!-- TMPL_IF Name="email" --><li><span class="label">Email (home):</span><a href="mailto:<!-- TMPL_VAR NAME="email" -->"><!-- TMPL_VAR NAME="email" --></a></li><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF Name="emailpro" --><li><span class="label">Email (work): </span><a href="mailto:<!-- TMPL_VAR NAME="emailpro" -->"><!-- TMPL_VAR NAME="emailpro" --></a></li><!--/TMPL_IF-->
|
|
<!-- /TMPL_UNLESS -->
|
|
<li><span class="label">Initials: </span><!-- TMPL_VAR NAME="initials" --></li>
|
|
<li><span class="label">Date of birth:</span><!-- TMPL_VAR NAME="dateofbirth" --></li>
|
|
<li><span class="label">Sex:</span><!-- TMPL_VAR NAME="sex" --></li><!-- /TMPL_UNLESS -->
|
|
<!-- TMPL_IF NAME="printethnicityline" -->
|
|
<li><span class="label">Ethnicity:</span><!-- TMPL_VAR NAME="ethnicity" --></li>
|
|
<li><span class="label">Ethnicity notes: </span><!-- TMPL_VAR NAME="ethnotes" --></li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="isguarantee" -->
|
|
<!-- TMPL_IF NAME="guaranteeloop" -->
|
|
<li><span class="label">Guarantees:</span><ul><!-- TMPL_LOOP NAME="guaranteeloop" --><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="name" --> </a></li><!-- /tmpl_loop --></ul></li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_IF name="guarantorborrowernumber" -->
|
|
<li><span class="label">Guarantor:</span><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="guarantorborrowernumber" -->"><!-- TMPL_VAR NAME="guarantorsurname" -->, <!-- TMPL_VAR NAME="guarantorfirstname" --></a></li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
</ol>
|
|
</div>
|
|
<div class="action">
|
|
<!-- TMPL_IF name="guarantorborrowernumber" -->
|
|
<a href="memberentry.pl?op=modify&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&step=1&guarantorid=<!-- TMPL_VAR NAME="guarantorborrowernumber" -->">Edit</a>
|
|
<!-- TMPL_ELSE -->
|
|
<a href="memberentry.pl?op=modify&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&step=1">Edit</a>
|
|
<!-- /TMPL_IF --></div>
|
|
|
|
</div>
|
|
|
|
<!-- Begin Upload Patron Image Section -->
|
|
|
|
<div id="manage-patron-image">
|
|
<!-- TMPL_IF NAME="patronimages" -->
|
|
<!-- TMPL_IF NAME="CAN_user_tools_batch_upload_patron_images" -->
|
|
<form method="post" action="/cgi-bin/koha/tools/picture-upload.pl" enctype="multipart/form-data">
|
|
<fieldset class="brief">
|
|
<!-- TMPL_IF NAME="picture" -->
|
|
<legend>Manage Patron Image</legend>
|
|
<div class="hint">To update the image for <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="surname" -->, select a new image file and click 'Upload.' <br />Click the 'Delete' button to remove the current image.
|
|
<!-- TMPL_ELSE -->
|
|
<legend>Upload Patron Image</legend>
|
|
<div class="hint"><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> does not currently have an image available. To import an image for <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="surname" -->, enter the name of an image file to upload.
|
|
<!-- /TMPL_IF -->
|
|
<br />Only PNG, GIF, JPEG, XPM formats are supported.
|
|
</div>
|
|
<input type="hidden" id="image" name="filetype" value="image" />
|
|
<input type="hidden" id="cardnumber" name="cardnumber" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
|
|
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
|
|
<ol>
|
|
<li>
|
|
<label for="uploadfile">Select the file to upload: </label><input type="file" id="uploadfile" name="uploadfile" />
|
|
</li>
|
|
</ol>
|
|
<fieldset class="action">
|
|
<input type="submit" value="Upload" class="submit" />
|
|
<input name="op" type="hidden" value="Upload" />
|
|
<!-- TMPL_IF NAME="picture" --><a id="delpicture" href="/cgi-bin/koha/tools/picture-upload.pl?op=Delete&cardnumber=<!-- TMPL_VAR NAME="cardnumber" -->&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->" class="delete">Delete</a><!-- /TMPL_IF -->
|
|
</fieldset>
|
|
</fieldset>
|
|
</form>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
|
|
<!-- End Upload Patron Image Section -->
|
|
|
|
<!-- TMPL_IF NAME="ExtendedPatronAttributes" -->
|
|
<!-- TMPL_UNLESS NAME="no_patron_attribute_types" -->
|
|
<div id="patron-extended-attributes" style="padding-top: 1em;">
|
|
<h3>Additional attributes and identifiers</h3>
|
|
<table>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Value</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP NAME="patron_attributes" -->
|
|
<tr>
|
|
<td><!-- TMPL_VAR NAME="code" --> (<!-- TMPL_VAR NAME="description" -->)</td>
|
|
<td><!-- TMPL_VAR NAME="value" -->
|
|
<!-- TMPL_IF NAME="value_description" -->
|
|
(<!-- TMPL_VAR NAME="value_description" -->)
|
|
<!-- /TMPL_IF -->
|
|
</td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
</div>
|
|
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&step=4">Edit</a></div>
|
|
<!-- /TMPL_UNLESS -->
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="EnhancedMessagingPreferences" -->
|
|
<div id="patron-messaging-prefs" style="padding-top: 1em;">
|
|
<h3>Patron messaging preferences</h3>
|
|
<!-- TMPL_INCLUDE NAME="messaging-preference-form.inc" -->
|
|
<!-- TMPL_IF NAME="SMSSendDriver" -->
|
|
<div class="rows"> <ol><li><span class="label">SMS number:</span><!-- TMPL_VAR NAME="SMSnumber" -->
|
|
</li></ol></div>
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&step=5">Edit</a></div>
|
|
<!-- /TMPL_IF -->
|
|
|
|
</div>
|
|
<div class="yui-u">
|
|
<div id="patron-library-details">
|
|
<h3>Library use</h3>
|
|
<div class="rows">
|
|
<ol>
|
|
<li><span class="label">Card number: </span><!-- TMPL_VAR NAME="cardnumber" --></li>
|
|
<li><span class="label">Borrowernumber: </span> <!-- TMPL_VAR NAME="borrowernumber" --></li>
|
|
<li><span class="label">Category: </span><!-- TMPL_VAR NAME="description" --> (<!-- TMPL_VAR NAME="categorycode" -->)</li>
|
|
<li><span class="label">Registration date: </span><!-- TMPL_VAR NAME="dateenrolled" --></li>
|
|
|
|
<li><span class="label">Expiration date: </span>
|
|
<!-- TMPL_IF NAME="reregistration" -->
|
|
<strong class="reregistrinfo"><!-- TMPL_VAR NAME="dateexpiry" --></span>
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_VAR NAME="dateexpiry" -->
|
|
<!-- /TMPL_IF -->
|
|
</li>
|
|
|
|
<li><span class="label">Library: </span><!-- TMPL_VAR NAME="branchname" --></li>
|
|
|
|
<!-- TMPL_IF NAME="OPACPrivacy" --><li><span class="label">Privacy Pref:</span>
|
|
<!-- TMPL_IF NAME="privacy0" -->Forever<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="privacy1" -->Default<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="privacy2" -->Never<!-- /TMPL_IF -->
|
|
</li><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="sort1" --><li><span class="label">Sort field 1:</span><!-- TMPL_VAR NAME="lib1" --></li><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="sort2" --><li><span class="label">Sort field 2:</span><!-- TMPL_VAR NAME="lib2" --></li><!-- /TMPL_IF -->
|
|
<li><span class="label">OPAC login: </span><!-- TMPL_VAR name="userid" --></li>
|
|
<li><span class="label">OPAC password: </span>
|
|
<!-- TMPL_IF NAME="password" -->
|
|
*******
|
|
<!-- TMPL_ELSE -->
|
|
<span class="problem"><a href="/cgi-bin/koha/members/member-password.pl?member=<!-- TMPL_VAR NAME="borrowernumber" -->">Undefined</a></span>
|
|
<!-- /TMPL_IF -->
|
|
</li>
|
|
<!-- TMPL_IF NAME="borrowernotes" --><li><span class="label">Circulation note: </span><!-- TMPL_VAR name="borrowernotes" --></li><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="opacnote" --><li><span class="label">OPAC note:</span><!-- TMPL_VAR NAME="opacnote" --></li><!-- /TMPL_IF -->
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&step=3">Edit</a></div>
|
|
|
|
<div id="patron-alternate-address" style="padding-top: 1em;">
|
|
<h3>Alternate Address</h3>
|
|
<!-- TMPL_UNLESS NAME="I"--><!-- TMPL_UNLESS NAME="C"-->
|
|
<div class="rows"> <ol><li><span class="label">Address: </span><!-- TMPL_VAR NAME="B_address" --></li>
|
|
<li><span class="label">Address 2: </span><!-- TMPL_VAR NAME="B_address2" --></li>
|
|
<li><span class="label">City, State: </span><!-- TMPL_VAR NAME="B_city" --></li>
|
|
<li><span class="label">Zip/Postal Code: </span><!-- TMPL_VAR NAME="B_zipcode" --></li>
|
|
<li><span class="label">Country: </span><!-- TMPL_VAR NAME="B_country" --></li>
|
|
<!-- TMPL_IF NAME="B_phone"--><li><span class="label">Phone: </span><!-- TMPL_VAR NAME="B_phone" --></li><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="B_email"--><li><span class="label">Email: </span><!-- TMPL_VAR NAME="B_email" --></li><!-- /TMPL_IF --></ol></div>
|
|
<!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS -->
|
|
<!-- TMPL_IF NAME="C" -->
|
|
<div class="rows"> <ol><li><span class="label">Surname: </span><!-- TMPL_VAR NAME="contactname" --></li>
|
|
<li><span class="label">First name: </span><!-- TMPL_VAR NAME="contactfirstname" --></li>
|
|
<li><span class="label">Phone: </span><!-- TMPL_VAR NAME="phone" --></li>
|
|
<li><span class="label">Email: </span><!-- TMPL_VAR NAME="email" --></li>
|
|
<li><span class="label">Relationship: </span><!-- TMPL_VAR NAME="relationship" --></li></ol></div>
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&step=6">Edit</a></div>
|
|
|
|
<div id="patron-alternative-contact" style="padding-top: 1em;">
|
|
<h3>Alternative Contact</h3>
|
|
<div class="rows"> <ol><li><span class="label">Surname: </span><!-- TMPL_VAR NAME="altcontactsurname" --></li>
|
|
<li><span class="label">First name: </span><!-- TMPL_VAR NAME="altcontactfirstname" --></li>
|
|
<li><span class="label">Address: </span><!-- TMPL_VAR NAME="altcontactaddress1" --></li>
|
|
<li><span class="label">Address 2: </span><!-- TMPL_VAR NAME="altcontactaddress2" --></li>
|
|
<li><span class="label">City, State: </span><!-- TMPL_VAR NAME="altcontactaddress3" --></li>
|
|
<li><span class="label">Zip/Postal Code: </span><!-- TMPL_VAR NAME="altcontactzipcode" --></li>
|
|
<li><span class="label">Country: </span><!-- TMPL_VAR NAME="altcontactcountry" --></li>
|
|
<li><span class="label">Phone: </span><!-- TMPL_VAR NAME="altcontactphone" --></li></ol></div>
|
|
</div>
|
|
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&step=2">Edit</a></div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div id="finesholdsissues" class="toptabs">
|
|
<ul>
|
|
<li><a href="/cgi-bin/koha/members/moremember.pl#checkedout"><!-- TMPL_VAR NAME="issuecount"--> Checkout(s)</a></li>
|
|
<!-- TMPL_IF NAME="relissuecount" -->
|
|
<li><a href="/cgi-bin/koha/members/moremember.pl#relissues">Relatives issues</a></li>
|
|
<!-- /TMPL_IF -->
|
|
<li><a href="/cgi-bin/koha/members/moremember.pl#finesandcharges">Fines & Charges</a></li>
|
|
<li><!-- TMPL_IF NAME="countreserv"-->
|
|
<a href="/cgi-bin/koha/members/moremember.pl#onhold"><!--TMPL_VAR NAME="countreserv"--> Hold(s)</a>
|
|
<!-- TMPL_ELSE -->
|
|
<a href="/cgi-bin/koha/members/moremember.pl#onhold">0 Holds</a>
|
|
<!-- /TMPL_IF --></li>
|
|
</ul>
|
|
|
|
<div id="finesandcharges">
|
|
<!-- TMPL_IF NAME="totaldue_raw" -->
|
|
<p>Total due: <!-- TMPL_VAR NAME="totaldue" --></p>
|
|
<!-- TMPL_ELSE -->
|
|
<p>No outstanding charges</p>
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
|
|
<form action="/cgi-bin/koha/reserve/renewscript.pl" method="post" class="checkboxed">
|
|
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
|
|
<input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
|
|
<div id="checkedout">
|
|
<!-- TMPL_IF NAME="issueloop" -->
|
|
<table id="issuest">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">Due date</th>
|
|
<th scope="col">Title</th>
|
|
<th scope="col">Item Type</th>
|
|
<th scope="col">Checked out on</th>
|
|
<th scope="col">Call no</th>
|
|
<th scope="col">Charge</th>
|
|
<th scope="col">Price</th>
|
|
<th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllitems">select all</a> | <a href="#" id="CheckNoitems">none</a></p></th>
|
|
<th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllreturns">select all</a> | <a href="#" id="CheckNoreturns">none</a></p></th>
|
|
</tr></thead>
|
|
<!-- TMPL_INCLUDE NAME="checkouts-table-footer.inc" -->
|
|
<tbody>
|
|
<!-- TMPL_LOOP name="issueloop" -->
|
|
|
|
<!-- TMPL_IF name="overdue" -->
|
|
<tr class="problem">
|
|
<!-- TMPL_ELSE -->
|
|
<tr>
|
|
<!-- /TMPL_IF -->
|
|
<td<!-- TMPL_IF NAME="red" --> class="od"<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="date_due" -->
|
|
<!-- TMPL_IF NAME="itemlost" -->
|
|
<span class="lost"><!-- TMPL_VAR NAME="itemlost" --></span>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="damaged" -->
|
|
<span class="dmg"><!-- TMPL_VAR NAME="itemdamaged" --></span>
|
|
<!-- /TMPL_IF -->
|
|
</td>
|
|
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><strong><!-- TMPL_VAR NAME="title" escape="html" --></strong></a><!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR name="author" --><!-- /TMPL_IF --> <!-- TMPL_IF name="publishercode" -->; <!-- TMPL_VAR name="publishercode" --> <!-- /TMPL_IF --> <!-- TMPL_IF name="publicationyear" -->, <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF --> <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->#item<!-- TMPL_VAR NAME="itemnumber" -->"><!-- TMPL_VAR NAME="barcode" --></a></td>
|
|
<td><!-- TMPL_UNLESS NAME="noItemTypeImages" --> <!-- TMPL_IF NAME="itemtype_image" --><img src="<!-- TMPL_VAR NAME="itemtype_image" -->" alt="" /><!-- /TMPL_IF --><!-- /TMPL_UNLESS --><!-- TMPL_VAR NAME="itemtype_description" --></td>
|
|
<td><!-- TMPL_VAR NAME="issuedate" --></td>
|
|
<td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
|
|
<td><!-- TMPL_VAR NAME="charge" --></td>
|
|
<td><!-- TMPL_VAR NAME="replacementprice" --></td>
|
|
<!-- TMPL_IF NAME="renew_failed" -->
|
|
<td class="problem">Renewal Failed</td>
|
|
<!-- TMPL_ELSE -->
|
|
<td><span style="padding: 0 1em;"><!-- TMPL_IF NAME="renewals" --><!-- TMPL_VAR NAME="renewals" --><!-- TMPL_ELSE -->0<!-- /TMPL_IF --></span>
|
|
<!-- TMPL_IF name="norenew" -->
|
|
<!-- TMPL_IF NAME="can_confirm" --><span class="renewals-allowed" style="display: none">
|
|
<input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
|
|
<!-- TMPL_IF NAME="od" -->
|
|
<input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
|
|
<!-- TMPL_ELSE -->
|
|
<input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
|
|
<!-- /TMPL_IF -->
|
|
</span>
|
|
<span class="renewals-disabled">
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="norenew_reason_on_reserve" -->
|
|
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">On Hold</a>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="norenew_reason_too_many" -->
|
|
Not Renewable
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="can_confirm" -->
|
|
</span>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_ELSE -->
|
|
<input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
|
|
<!-- TMPL_IF NAME="red" -->
|
|
<input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" onclick="uncheck_sibling(this);" />
|
|
<!-- TMPL_ELSE -->
|
|
<input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" onclick="uncheck_sibling(this);" />
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
</td>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="return_failed" -->
|
|
<td class="problem">Checkin Failed</td>
|
|
<!--TMPL_ELSE-->
|
|
<td><input type="checkbox" name="barcodes[]" value="<!-- TMPL_VAR NAME="barcode" -->" onclick="uncheck_sibling(this);" />
|
|
<input type="checkbox" name="all_barcodes[]" value="<!-- TMPL_VAR NAME="barcode" -->" checked="checked" style="display: none;" />
|
|
</td>
|
|
<!-- /TMPL_IF -->
|
|
</tr>
|
|
<!-- /tmpl_loop -->
|
|
</tbody>
|
|
</table>
|
|
<fieldset class="action">
|
|
<!-- TMPL_IF NAME="CAN_user_circulate_override_renewals" -->
|
|
<!-- TMPL_IF NAME="AllowRenewalLimitOverride" -->
|
|
<label for="override_limit">Override Renewal Limit:</label>
|
|
<input type="checkbox" name="override_limit" id="override_limit" value="1" />
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
<input type="submit" name="renew_checked" value="Renew or Return checked items" />
|
|
<input type="submit" id="renew_all" name="renew_all" value="Renew all" />
|
|
</fieldset>
|
|
<!-- TMPL_ELSE --><p>Patron has nothing checked out.</p>
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
|
|
|
|
<!-- TMPL_IF NAME="relissuecount" -->
|
|
<div id="relissues">
|
|
<h2>Relatives issues</h2>
|
|
<table id="relissuest">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">Due date</th>
|
|
<th scope="col">Title</th>
|
|
<th scope="col">Collection</th>
|
|
<th scope="col">Stock number</th>
|
|
<th scope="col">Barcode</th>
|
|
<th scope="col">Item Type</th>
|
|
<th scope="col">Checked out on</th>
|
|
<th scope="col">Borrower</th>
|
|
<th scope="col">Call no</th>
|
|
<th scope="col">Charge</th>
|
|
<th scope="col">Price</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<!-- TMPL_LOOP name="relissueloop" -->
|
|
|
|
<!-- TMPL_IF name="overdue" -->
|
|
<tr class="problem">
|
|
<!-- TMPL_ELSE -->
|
|
<tr>
|
|
<!-- /TMPL_IF -->
|
|
<td<!-- TMPL_IF NAME="red" --> class="od"<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="date_due" -->
|
|
<!-- TMPL_IF NAME="itemlost" -->
|
|
<span class="lost"><!-- TMPL_VAR NAME="itemlost" --></span>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="damaged" -->
|
|
<span class="dmg"><!-- TMPL_VAR NAME="itemdamaged" --></span>
|
|
<!-- /TMPL_IF -->
|
|
</td>
|
|
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><strong><!-- TMPL_VAR NAME="title" escape="html" --></strong></a><!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR name="author" --><!-- /TMPL_IF --> <!-- TMPL_IF name="publishercode" -->; <!-- TMPL_VAR name="publishercode" --> <!-- /TMPL_IF --> <!-- TMPL_IF name="publicationyear" -->, <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF --></td>
|
|
<td><!-- TMPL_VAR NAME="collection" --></td>
|
|
<td><!-- TMPL_VAR NAME="stocknumber" --></td>
|
|
<td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->#item<!-- TMPL_VAR NAME="itemnumber" -->"><!-- TMPL_VAR NAME="barcode" --></a></td>
|
|
<td><!-- TMPL_UNLESS NAME="noItemTypeImages" --> <!-- TMPL_IF NAME="itemtype_image" --><img src="<!-- TMPL_VAR NAME="itemtype_image" -->" alt="" /><!-- /TMPL_IF --><!-- /TMPL_UNLESS --><!-- TMPL_VAR NAME="itemtype_description" --></td>
|
|
<td><!-- TMPL_VAR NAME="issuedate" --></td>
|
|
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="borrowername" --></a></td>
|
|
<td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
|
|
<td><!-- TMPL_VAR NAME="charge" --></td>
|
|
<td><!-- TMPL_VAR NAME="replacementprice" --></td>
|
|
</tr>
|
|
<!-- /tmpl_loop -->
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<div id="onhold">
|
|
<!-- TMPL_IF NAME="reservloop" -->
|
|
<form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
|
|
<input type="hidden" name="from" value="borrower" />
|
|
<table id="holdst">
|
|
<thead><tr>
|
|
<th>Hold date</th>
|
|
<th>Title</th>
|
|
<th>Call Number</th>
|
|
<th>Barcode</th>
|
|
<th>Priority</th>
|
|
<th>Delete?</th>
|
|
</tr></thead>
|
|
<tbody><!-- TMPL_LOOP NAME="reservloop" -->
|
|
<tr class="<!-- TMPL_VAR NAME="color" -->">
|
|
<td><!-- TMPL_VAR NAME="reservedate" --></td>
|
|
<td>
|
|
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a><!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF -->
|
|
</td>
|
|
<td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
|
|
<td><!-- TMPL_IF name="waiting" -->
|
|
<em>Item is <strong>waiting</strong></em>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="transfered" -->
|
|
<em>Item <strong>in transit</strong> from
|
|
<!-- TMPL_VAR NAME="frombranch" --> since <!-- TMPL_VAR NAME="datesent" --> </em>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF name="nottransfered" -->
|
|
<em>Item hasn't been transferred yet from <!-- TMPL_VAR NAME="nottransferedby" --></em>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="barcodereserv" -->
|
|
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="barcodereserv" --></a>
|
|
<!-- /TMPL_IF -->
|
|
</td>
|
|
<td><!-- TMPL_IF NAME="waitingposition" --><strong><!-- TMPL_VAR NAME="waitingposition" --></strong><!-- /TMPL_IF --></td>
|
|
<td><select name="rank-request">
|
|
<option value="n">No</option>
|
|
<option value="del">Yes</option>
|
|
</select>
|
|
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" />
|
|
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR name="borrowernumber" -->" />
|
|
</td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP --></tbody>
|
|
</table>
|
|
|
|
<fieldset class="action">
|
|
<input type="submit" name="renew_checked" value="Renew or Return checked items" />
|
|
<input type="submit" id="renew_all" name="renew_all" value="Renew all" />
|
|
</fieldset>
|
|
<!-- TMPL_ELSE --><p>Patron has nothing checked out.</p><!-- /TMPL_IF -->
|
|
</div>
|
|
|
|
</div>
|
|
<!-- /TMPL_IF --> <!-- unknowuser -->
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
<!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
|
|
</div>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|