Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl
2007-10-02 15:44:14 -05:00

322 lines
15 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Patrons &rsaquo; <!-- 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" -->
<script type="text/javascript">
//<![CDATA[
function confirm_deletion() {
var is_confirmed = window.confirm('Click OK to confirm deletion');
var borrowernumbervalue=document.form.borrowernumber.value;
if (is_confirmed) {
window.location='/cgi-bin/koha/members/deletemem.pl?member='+borrowernumbervalue+'';
}
}
function confirm_reregistration() {
var is_confirmed = window.confirm('Click OK to confirm renewal');
var borrowernumbervalue1=document.form.borrowernumber.value;
if (is_confirmed) {
window.location='/cgi-bin/koha/members/moremember.pl?reregistration=y&borrowernumber='+borrowernumbervalue1+'';
}
}
//]]>
</script>
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
<!-- TMPL_INCLUDE NAME="members-search.inc" -->
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> &rsaquo; <!-- 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-t2">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<!-- TMPL_INCLUDE NAME="circ-toolbar.inc" -->
<div class="yui-g" style="border : 1px solid #CCCCCC;">
<!-- TMPL_IF NAME="unknowuser" -->
This patron does not exist.
<!-- TMPL_ELSE -->
<!-- TMPL_IF NAME="reregistration" --><div class="message">Patron's account has been renewed until <!-- TMPL_VAR NAME="dateexpiry" --></div><!-- /TMPL_IF -->
<form action="" name="form">
<input type="hidden" name="reregistration" value="<!-- TMPL_VAR NAME="reregistration"-->" />
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
</form>
<!-- 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 -->
<div class="yui-u first" style="border-right : 1px solid #CCCCCC;">
<div id="patron-information" style="padding : .5em;">
<h3>
<!-- TMPL_UNLESS NAME="I" -->
<!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- /TMPL_UNLESS --> <!-- TMPL_VAR NAME="surname" --></h3> <!-- TMPL_UNLESS NAME="I" --><!-- TMPL_IF NAME="othernames" -->"<!-- TMPL_VAR NAME="othernames" -->"<!-- /TMPL_IF --> <p><!-- 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" --><!-- /TMPL_IF --></p>
<p><!-- TMPL_UNLESS NAME="I"-->
<!-- TMPL_IF NAME="phone" --><strong>Home: </strong><!-- TMPL_VAR NAME="phone" --><br /><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="mobile" --><strong>Mobile: </strong><!-- TMPL_VAR NAME="mobile" --><br /><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="phonepro" --><strong>Work: </strong><!-- TMPL_VAR NAME="phonepro" --><br /><!-- /TMPL_IF -->
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF NAME="I" -->
<!-- TMPL_IF NAME="phonepro" --><strong>Organisation phone: </strong><!-- TMPL_VAR NAME="phonepro" --><br /><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="emailpro" --><strong>Organisation email: </strong><!-- TMPL_VAR NAME="emailpro" --><br /><!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="P"-->
<!-- TMPL_IF NAME="phone" --> <strong>Professional phone: </strong><!-- TMPL_VAR NAME="phone" --><br /><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="mobile" --><strong>Professionnal mobile: </strong><!-- TMPL_VAR NAME="mobile" --><br /><!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="fax" --><strong>Fax: </strong><!-- TMPL_VAR NAME="fax" --><br><!-- /TMPL_IF -->
</p> <!-- TMPL_UNLESS NAME="I"-->
<p><a href="mailto:<!-- TMPL_VAR NAME="email" -->"><!-- TMPL_VAR NAME="email" --></a><!--TMPL_IF Name="emailpro"-->, <a href="mailto:<!-- TMPL_VAR NAME="emailpro" -->"><!-- TMPL_VAR NAME="emailpro" --></a><!--/TMPL_IF--></p>
<!-- /TMPL_UNLESS -->
<p><strong>Initials: </strong><!-- TMPL_VAR NAME="initials" --></p>
<p><strong>Date of birth:</strong><!-- TMPL_VAR NAME="dateofbirth" --></p>
<p><strong>Sex:</strong><!-- TMPL_VAR NAME="sex" --></p><!-- /TMPL_UNLESS -->
<!-- TMPL_IF NAME="printethnicityline" -->
<p><strong>Ethnicity:</strong><!-- TMPL_VAR NAME="ethnicity" --></p>
<p><strong>Ethnicity notes: </strong><!-- TMPL_VAR NAME="ethnotes" --></p>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="isguarantee" -->
<!-- TMPL_IF NAME="guaranteeloop" -->
<p><strong>Guarantees:</strong><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></p>
<!-- /TMPL_IF -->
<!-- TMPL_ELSE -->
<!-- TMPL_IF name="guarantorborrowernumber" -->
<p><strong>Guarantor:</strong><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="guarantorborrowernumber" -->"><!-- TMPL_VAR NAME="guarantorsurname" --> <!-- TMPL_VAR NAME="guarantorfirstname" --></a></p>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<a class="member-edit" href="memberentry.pl?op=modify&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;step=1">Edit</a>
</div>
<div id="patron-alternate-address" style="padding : .5em;">
<h3>Alternate Address</h3>
<!-- TMPL_UNLESS NAME="I"-->
<!-- TMPL_UNLESS NAME="C"-->
<p><strong>Alternate address: </strong><!-- TMPL_VAR NAME="B_address" --></p>
<p><strong>Alternate city: </strong><!-- TMPL_VAR NAME="B_city" --></p>
<p><strong>Alternate zipcode: </strong><!-- TMPL_VAR NAME="B_zipcode" --></p>
<!-- /TMPL_UNLESS -->
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF NAME="C" -->
<p><strong>Name: </strong><!-- TMPL_VAR NAME="contactname" --></p>
<p><strong>Firstname: </strong><!-- TMPL_VAR NAME="firstname" --></p>
<p><strong>Phone: </strong><!-- TMPL_VAR NAME="phone" --></p>
<p><strong>Email: </strong><!-- TMPL_VAR NAME="email" --></p>
<p><strong>Relationship: </strong><!-- TMPL_VAR NAME="relationship" --></p>
<!-- /TMPL_IF -->
<a class="member-edit" href="memberentry.pl?op=modify&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;step=2">Edit</a>
</div>
</div>
<div class="yui-u">
<div id="patron-library-details" style="padding : .5em;"
<h3>Library use</h3>
<ul>
<li><strong>Patron number: </strong><!-- TMPL_VAR NAME="borrowernumber" --></li>
<li><strong>Category: </strong><!-- TMPL_VAR NAME="description" --> (<!-- TMPL_VAR NAME="categorycode" -->)</li>
<li><strong>Registration date: </strong><!-- TMPL_VAR NAME="dateenrolled" --></li>
<li><strong>Expiration date: </strong>
<!-- TMPL_IF NAME="reregistration" -->
<strong class="reregistrinfo"><!-- TMPL_VAR NAME="dateexpiry" --></strong>
<!--TMPL_ELSE-->
<!-- TMPL_VAR NAME="dateexpiry" -->
<!-- /TMPL_IF -->
</li>
<li><strong>Registration branch: </strong><!-- TMPL_VAR NAME="branchname" --></li>
<!-- TMPL_IF NAME="sort1" --><li><strong>Sort field 1: </strong><!-- TMPL_VAR NAME="sort1" --></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="sort2" --><li><strong>Sort field 2:</strong><!-- TMPL_VAR NAME="sort2" --></li><!-- /TMPL_IF -->
<li><strong>OPAC login: </strong><!-- TMPL_VAR name="userid" --></li>
<!-- TMPL_IF NAME="password" -->
<li><strong>OPAC password: </strong>*******</li>
<!--TMPL_ELSE -->
<li><strong>OPAC password: </strong><span class="problem"><a href="/cgi-bin/koha/members/member-password.pl?member=<!-- TMPL_VAR NAME="borrowernumber" -->">Undefined</a></span></li>
<!--/TMPL_IF -->
<!-- TMPL_IF NAME="borrowernotes" --><li><strong>Circulation notes: </strong><!-- TMPL_VAR name="borrowernotes" --></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="opacnote" --><li><strong>Message to Patron:</strong><!-- TMPL_VAR NAME="opacnote" --></li><!-- /TMPL_IF -->
</ul>
<a class="member-edit" href="memberentry.pl?op=modify&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;step=3">Edit</a>
</div>
</div>
</div>
<div id="patrons-fines-and-charges" class="yui-g">
<h2>Fines and Charges</h2>
<!-- TMPL_IF EXPR="totaldue eq 0.00" -->
<p>Total due: <!-- TMPL_VAR NAME="totaldue" --></p>
<!-- TMPL_ELSE -->
<p>No outstanding charges</p>
<!-- /TMPL_IF -->
</div>
<div id="patrons-items-on-loan" class="yui-g">
<h2>Items on loan</h2>
<!-- TMPL_IF NAME="issueloop" --><form action="/cgi-bin/koha/reserve/renewscript.pl" method="post">
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
<input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
<table>
<tr>
<th scope="col">Title</th>
<th scope="col">Barcode</th>
<th scope="col">Date due</th>
<th scope="col">Itemtype</th>
<th scope="col">Charge</th>
<th scope="col">Price</th>
<th scope="col">Renew</th>
<th scope="col">Return</th>
</tr>
<!-- TMPL_LOOP name="issueloop" -->
<!-- TMPL_IF name="overdue" -->
<tr class="problem">
<!-- TMPL_ELSE -->
<!-- TMPL_IF name="toggle" -->
<tr class="highlight">
<!-- TMPL_ELSE -->
<tr>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<td><!-- TMPL_VAR NAME="date_due" --></td>
<td>
<p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
<!-- TMPL_VAR NAME="title" -->
</a></p>
<p><!-- TMPL_VAR name="author" -->
<!-- TMPL_IF name="publishercode" --> - <!-- TMPL_VAR name="publishercode" --> <!-- /TMPL_IF -->
<!-- TMPL_IF name="publicationyear" -->- <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
</p>
</td>
<td><!-- TMPL_VAR NAME="barcode" --></td>
<td>
<!-- TMPL_VAR NAME="itemtype_description" -->
<!-- TMPL_IF NAME="itemtype_image" -->
<img src="<!-- TMPL_VAR NAME="itemtype_image" -->" alt="" />
<!-- /TMPL_IF -->
</td>
<td><!-- TMPL_VAR NAME="charge" --></td>
<td><!-- TMPL_VAR NAME="replacementprice" --></td>
<td>
<!-- TMPL_IF name="norenew" -->
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">On Hold</a>
<!-- TMPL_ELSE -->
<!-- TMPL_IF NAME="red" -->
<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 -->
<input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
<!-- /TMPL_IF -->
</td>
<td><a href="/cgi-bin/koha/circ/returns.pl?barcode=<!-- TMPL_VAR NAME="barcode" -->">Check In</a></td>
</tr>
<!-- /tmpl_loop -->
<tr>
<td colspan="5">Total replacement cost:</td>
<td><!-- TMPL_VAR NAME="totalprice" --></td>
<td colspan="2">&nbsp;</td>
</tr>
</table>
<div>
<input type="submit" name="renew_checked" value="Renew checked items" />
<input type="submit" name="renew_all" value="Renew all" />
</div>
</form><!-- TMPL_ELSE --><p>Patron has nothing checked out.</p><!-- /TMPL_IF -->
</div>
<div id="patrons-items-reserved" class="yui-g">
<h2>Patron current holds</h2>
<!-- TMPL_IF NAME="reservloop" -->
<table>
<tr>
<th>Hold date</th>
<th>Barcode</th>
<th>Title</th>
<th>Author</th>
<th>Localisation</th>
<th>Details</th>
</tr>
<!-- TMPL_LOOP NAME="reservloop" -->
<tr class="<!-- TMPL_VAR NAME="color" -->">
<td>
<!-- TMPL_VAR NAME="reservedate" -->
</td>
<td>
<!-- TMPL_IF name="barcodereserv" -->
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="openWindow(this, 'Item', 480, 640); return false;"><!-- TMPL_VAR NAME="barcodereserv" --></a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="waitingposition" -->
Queue for this item :
<b> <!-- TMPL_VAR NAME="waitingposition" --> </b>
<!-- /TMPL_IF -->
</td>
<td>
<!-- TMPL_VAR NAME="title" --> (<b> <!-- TMPL_VAR NAME="itemtype" --> </b>)
<!-- TMPL_IF name="waiting" -->
<i>This item is available</i>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="transfered" -->
<i>This item has been transfered from library :
<!-- TMPL_VAR NAME="frombranch" --> the : <!-- TMPL_VAR NAME="datesent" --> </i>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="nottransfered" -->
<i>This item hasn't been transfered yet from library : <!-- TMPL_VAR NAME="nottransferedby" --></i>
<!-- /TMPL_IF -->
</td>
<td><!-- TMPL_VAR NAME="author" --></td>
<td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
<td>
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">view holds </a>
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<!-- TMPL_ELSE -->
<p>Patron has nothing on hold.</p>
<!-- /TMPL_IF -->
</div>
<!-- /TMPL_IF --> <!-- unknowuser -->
</div>
</div>
<div class="yui-b">
<!-- TMPL_INCLUDE NAME="members-menu.inc" -->
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->