Koha/koha-tmpl/intranet-tmpl/prog/en/members/moremember.tmpl

364 lines
16 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Patron Details</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- TMPL_INCLUDE NAME="menus.inc" -->
<!-- TMPL_INCLUDE NAME="menu-members.inc" -->
<!-- TMPL_IF NAME="unknowuser" -->
This patron doesn't exist.<a href="javascript:back();">Go Back</a>
<!-- TMPL_ELSE -->
<a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> &rsaquo; <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Details for <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</a>
<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>
<div id="action">
<div class="edit">
<!-- TMPL_IF name="adultborrower" -->
<a href="/cgi-bin/koha/members/memberentry.pl?op=add&amp;guarantorid=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;category_type=C">
Add child
</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="category_type" -->
<!--TMPL_IF NAME="guarantor"-->
<a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;guarantorid=<!-- TMPL_VAR NAME="guarantorborrowernumber" -->&amp;category_type=<!-- TMPL_VAR NAME="category_type"-->">
<!--TMPL_ELSE-->
<a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;category_type=<!-- TMPL_VAR NAME="category_type"-->">
<!--/TMPL_IF-->
Edit
</a>
<!-- TMPL_ELSE --> <!-- try with categorycode if no category_type -->
<!-- TMPL_IF NAME="categorycode" -->
<a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;categorycode=<!-- TMPL_VAR NAME="categorycode"-->">
Edit
</a>
<!-- TMPL_ELSE --> <!-- if no categorycode, set category_type to A by default -->
<a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;category_type=A">
Edit
</a>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<a href="/cgi-bin/koha/members/member-password.pl?member=<!-- TMPL_VAR NAME=borrowernumber -->">
Set password
</a>
<a href="/cgi-bin/koha/members/member-flags.pl?member=<!-- TMPL_VAR NAME=borrowernumber -->">
Privileges
</a>
<a href="javascript:confirm_deletion();">
Delete
</a>
</div>
<div class="view">
<a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">
Account
</a>
<a href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">
Pay fines
</a>
<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">
Reading record
</a>
<a href="javascript:confirm_reregistration();" onclick="javascript:document.form.value='y'" class="gest_borro_op">
Renew
</a>
</div>
<div class="others">
<!-- TMPL_IF NAME="CAN_user_parameters"-->
<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&amp;module=MEMBERS&amp;action=MODIFY&amp;object=<!-- TMPL_VAR NAME="borrowernumber"-->">Modification log</a>
<!-- /TMPL_IF -->
</div>
</div>
<!-- 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 -->
<fieldset>
<legend>Patron information</legend>
<!-- TMPL_UNLESS NAME="I" -->
<p><label>Title:</label><!-- TMPL_VAR NAME="title" -->&nbsp;</p>
<p><label>First name:</label><!-- TMPL_VAR NAME="firstname" --></p>
<!-- /TMPL_UNLESS -->
<p><!-- TMPL_IF NAME="I" --><label>Organisation name: </label><!-- TMPL_ELSE --><label>Last name: </label><!-- /TMPL_IF --><!-- TMPL_VAR NAME="surname" --></p>
<!-- TMPL_UNLESS NAME="I" --><p><label>Other names: </label><!-- TMPL_VAR NAME="othernames" --></p>
<p><label>Initials: </label><!-- TMPL_VAR NAME="initials" --></p><!-- /TMPL_UNLESS -->
<p>
<label>Address: </label>
<!-- TMPL_VAR NAME="streetnumber" -->
<!--TMPL_IF NAME="roaddetails"-->
<!-- TMPL_VAR NAME="roaddetails" -->,
<!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="address" -->
</p>
<p>
<label>Address2: </label>
<!-- TMPL_VAR NAME="address2"-->
</p>
<p><label>City: </label><!-- TMPL_VAR NAME="city" --></p>
<p><label>Zip code: </label><!-- TMPL_VAR NAME="zipcode" --></p>
<!-- TMPL_UNLESS NAME="I"-->
<!-- TMPL_UNLESS NAME="C"-->
<p><label>Alternate address: </label><!-- TMPL_VAR NAME="B_address" --></p>
<p><label>Alternate city: </label><!-- TMPL_VAR NAME="B_city" --></p>
<p><label>Alternate zipcode: </label><!-- TMPL_VAR NAME="B_zipcode" --></p>
<!-- /TMPL_UNLESS -->
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF NAME="I" -->
<p><label>Organisation phone: </label><!-- TMPL_VAR NAME="phonepro" --></p>
<p><label>Organisation email: </label><!-- TMPL_VAR NAME="emailpro" --></p>
<!-- /TMPL_IF -->
<!-- TMPL_UNLESS NAME="I"-->
<p><label>Home phone: </label><!-- TMPL_VAR NAME="phone" --></p>
<p><label>Cell phone: </label><!-- TMPL_VAR NAME="mobile" --></p>
<p><label>Professional phone: </label><!-- TMPL_VAR NAME="phonepro" --></p>
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF NAME="P"-->
<p><label>Professional phone: </label><!-- TMPL_VAR NAME="phone" --></p>
<p><label>Professionnal email: </label><!-- TMPL_VAR NAME="mobile" --></p>
<!-- /TMPL_IF -->
<p><label>Fax: </label><!-- TMPL_VAR NAME="fax" --></p>
<!-- TMPL_UNLESS NAME="I"-->
<p><label>E-mail address:</label><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>
<p><label>Date of birth:</label><!-- TMPL_VAR NAME="dateofbirth" --></p>
<p><label>Sex:</label><!-- TMPL_VAR NAME="sex" --></p>
<!-- /TMPL_UNLESS -->
</fieldset>
<fieldset>
<legend>Library use</legend>
<p><label>Patron number:</label><!-- TMPL_VAR NAME="borrowernumber" --></p>
<p><label>Category:</label><!-- TMPL_VAR NAME="description" --></p>
<p><label>Registration date:</label><!-- TMPL_VAR NAME="dateenrolled" --></p>
<p><label>Relation:</label><!-- TMPL_VAR NAME="relationship" --></p>
<p><label>Expiration date: </label>
<!-- TMPL_IF NAME="reregistration" -->
<label class="reregistrinfo"><!-- TMPL_VAR NAME="dateexpiry" --></label>
<!--TMPL_ELSE-->
<!-- TMPL_VAR NAME="dateexpiry" -->
<!-- /TMPL_IF -->
</p>
<p><label>Registration branch:</label><!-- TMPL_VAR NAME="branchname" --> &nbsp;</p>
<!-- TMPL_IF NAME="printethnicityline" -->
<p><label>Ethnicity:</label><!-- TMPL_VAR NAME="ethnicity" --> &nbsp;</p>
<p><label>Ethnicity notes: </label><!-- TMPL_VAR NAME="ethnotes" --> &nbsp;</p>
<!-- /TMPL_IF -->
<p><label>Sort field 1: </label><!-- TMPL_VAR NAME="sort1" --> &nbsp;</p>
<p><label>Sort field 2:</label><!-- TMPL_VAR NAME="sort2" --> &nbsp;</p>
<p><label>OPAC login: </label><!-- TMPL_VAR name="userid" --> &nbsp;</p>
<!-- TMPL_IF NAME="password" -->
<p><label>OPAC password: </label>*******</p>
<!--TMPL_ELSE -->
<p><label>OPAC password: </label><span class="problem">Undefined &nbsp;</span></p>
<!--/TMPL_IF -->
<p><label>Circulation notes:</label><!-- TMPL_VAR name="borrowernotes" --> &nbsp;</p>
<p><label>Message to Patron:</label><!-- TMPL_VAR NAME="opacnote" --> &nbsp;</p>
</fieldset>
<!-- TMPL_UNLESS NAME="P" -->
<!-- TMPL_UNLESS NAME="I" -->
<fieldset>
<legend>Alternate contact</legend>
<!-- TMPL_IF NAME="C" -->
<p><label>Name: </label><!-- TMPL_VAR NAME="contactname" --> &nbsp;</p>
<p><label>Firstname: </label><!-- TMPL_VAR NAME="firstname" --> &nbsp;</p>
<p><label>Phone: </label><!-- TMPL_VAR NAME="phone" --> &nbsp;</p>
<p><label>Email: </label><!-- TMPL_VAR NAME="email" --> &nbsp;</p>
<p><label>Relationship: </label><!-- TMPL_VAR NAME="relationship" --> &nbsp;</p>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="isguarantee" -->
<!-- TMPL_IF NAME="guaranteeloop" -->
<p><label>Guarantees:</label><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><label>Guarantor:</label><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 -->
</fieldset>
<!-- /TMPL_UNLESS-->
<!-- /TMPL_UNLESS-->
<fieldset>
<legend>Fines &amp; Charges</legend>
<!-- TMPL_IF name="totaldue" -->
<p>Total due: <!-- TMPL_VAR NAME="totaldue" --></p>
<!-- TMPL_ELSE -->
<p>No outstanding charges</p>
<!-- /TMPL_IF -->
</fieldset>
<div>
<h2>Items on loan</h2>
<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" -->" />
<!-- /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" -->">Reserved</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" -->">Return</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>
</div>
<!-- TMPL_IF NAME="reservloop" -->
<div id="circ_circulation_issue">
<h2>Patron current reserves</h2>
<table>
<tr>
<th>Reserve 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" -->
Waiting position for this document :
<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 document is available</i>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="transfered" -->
<i>This document has been transfered from library :
<!-- TMPL_VAR NAME="frombranch" --> the : <!-- TMPL_VAR NAME="datesent" --> </i>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="nottransfered" -->
<i>This document 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 reserves </a>
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<!-- /TMPL_IF -->
<script type="text/javascript">
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&amp;borrowernumber='+borrowernumbervalue1+'';
}
}
</script>
<!-- /TMPL_IF --> <!-- unknowuser -->
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->