Koha/koha-tmpl/intranet-tmpl/prog/en/members/moremember.tmpl
btoumi 139ba12db3 memberentryC.tmpl: modify and add conditions
moremember.tmpl:add op value in url (modify)
memberentry.pl:modify condition
2006-06-13 15:25:17 +00:00

247 lines
9.7 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Member Details<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- TMPL_INCLUDE NAME="menus.inc" -->
<!-- TMPL_INCLUDE NAME="menu-members.inc" -->
<h1><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</h1>
<ul>
<!-- TMPL_UNLESS name="guarantorborrowernumber" -->
<a href="/cgi-bin/koha/members/memberentry.pl?op=add&guarantorid=<!-- TMPL_VAR NAME="borrowernumber" -->&category_type=C">Add child</a>
<!-- /TMPL_UNLESS -->
<a href="/cgi-bin/koha/members/memberentry.pl?op=modify&borrowernumber=<!-- TMPL_VAR NAME="bornum" -->&category_type=<!-- TMPL_VAR NAME="category_type"-->">
Edit this Record
</a>
<a href="/cgi-bin/koha/members/member-password.pl?member=<!-- TMPL_VAR NAME=bornum -->">
Change Member's Password
</a>
<a href="/cgi-bin/koha/members/member-flags.pl?member=<!-- TMPL_VAR NAME=bornum -->">
Modify Member's Privileges
</a>
<a href="javascript:confirm_deletion()">
Delete this Member
</a>
<a href="/cgi-bin/koha/members/boraccount.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->">
View Account
</a>
<a href="/cgi-bin/koha/members/pay.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->">
Pay Fines
</a>
<a href="/cgi-bin/koha/members/readingrec.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->">
Member's Reading Record
</a>
</ul>
<!-- TMPL_IF NAME="flagged" -->
<ul>
<!-- TMPL_IF NAME="debarred" -->
<li>Patron is debarred
<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>Borrower Information</legend>
<p><label>Title:</label><!-- TMPL_VAR NAME="title" --></p>
<p><label>First Name:</label><!-- TMPL_VAR NAME="firstname" --></p>
<p><label>Last Name: </label><!-- TMPL_VAR NAME="surname" --></p>
<p><label>Othernames: </label><!-- TMPL_VAR NAME="othernames" --></p>
<p><label>Initials: </label><!-- TMPL_VAR NAME="initials" --></p>
<p><label>Address: </label><!-- TMPL_VAR NAME="address" --></p>
<p><label>City: </label><!-- TMPL_VAR NAME="city" --></p>
<p><label>Zip Code: </label><!-- TMPL_VAR NAME="zipcode" --></p>
<!-- TMPL_UNLESS NAME="I"-->
<p><label>alt address: </label><!-- TMPL_VAR NAME="B_address" --></p>
<p><label>alt city: </label><!-- TMPL_VAR NAME="B_city" --></p>
<p><label>alt zipcode: </label><!-- TMPL_VAR NAME="B_zipcode" --></p>
<!-- /TMPL_UNLESS -->
<p><label>Home Phone: </label><!-- TMPL_VAR NAME="phone" --></p>
<p><label>Cell phone: </label><!-- TMPL_VAR NAME="mobile" --></p>
<p><label>Fax: </label><!-- TMPL_VAR NAME="fax" --></p>
<p><label>E-mail Address:</label><!-- TMPL_VAR NAME="email" --></p>
<!-- TMPL_UNLESS name="I" -->
<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>Member Number:</label><!-- TMPL_VAR NAME="borrowernumber" --></p>
<p><label>Category:</label><!-- TMPL_VAR NAME="categorycode" --></p>
<p><label>Registration Date:</label><!-- TMPL_VAR NAME="dateenrolled" --></p>
<p><label>Expiration Date: </label><!-- TMPL_VAR NAME="dateexpiry" --></p>
<p><label>Registration Branch:</label><!-- TMPL_VAR NAME="branchname" --></p>
<!-- TMPL_IF NAME="printethnicityline" -->
<p><label>Ethnicity:</label><!-- TMPL_VAR NAME="ethnicity" --></p>
<p><label>Ethnicity Notes: </label><!-- TMPL_VAR NAME="ethnotes" --></p>
<!-- /TMPL_IF -->
<p><label>Sort field 1: </label><!-- TMPL_VAR NAME="sort1" --></p>
<p><label>Sort field 2:</label><!-- TMPL_VAR NAME="sort2" --></p>
<p><label>OPAC login: </label><!-- TMPL_VAR name="userid" --></p>
<p><label>OPAC Password: </label><!-- TMPL_VAR NAME="password" --></p>
<p><label>Circulation Notes:</label><!-- TMPL_VAR name="borrowernotes" --></p>
<p><label>Patron Message:</label><!-- TMPL_VAR NAME="opacnote" --></p>
</fieldset>
<fieldset>
<legend>Alternate contact</legend>
<!-- TMPL_UNLESS name="I" -->
<p><label>Name:</label><!-- TMPL_VAR NAME="contactname" --></p>
<p><label>Phone: </label><!-- TMPL_VAR NAME="B_phone" --></p>
<p><label>Relationship:</label><!-- TMPL_VAR NAME="relationship" --></p>
<p><label>Notes: </label><!-- TMPL_VAR NAME="contactnote" --></p>
<!-- /TMPL_UNLESS -->
<!-- TMPL_UNLESS name="I" -->
<!-- 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?bornum=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME=name --> - <!-- TMPL_VAR NAME="cardnumber" --></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?bornum=<!-- TMPL_VAR NAME="guarantorborrowernumber" -->"><!-- TMPL_VAR NAME="guarantorcardnumber" --></a></p>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- /TMPL_UNLESS -->
</fieldset>
<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>
<fieldset>
<legend>Items On Loan</legend>
<form action="/cgi-bin/koha/reserve/renewscript.pl" method="post">
<input type="hidden" name="bornum" value="<!-- TMPL_VAR NAME="bornum" -->" />
<table>
<tr>
<th scope="col">Title</th>
<th scope="col">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="toggle" -->
<tr class="highlight">
<!-- TMPL_ELSE -->
<tr>
<!-- /TMPL_IF -->
<td>
<!-- TMPL_IF name="red" --><span class="overdue"><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="title" --><!-- TMPL_IF name="red" --></span><!-- /TMPL_IF -->
<a href="/cgi-bin/koha/detail.pl?item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;bib=<!-- TMPL_VAR NAME="biblionumber" -->&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->">
<!-- TMPL_VAR NAME="barcode" -->
</a>
</td>
<td><!-- TMPL_VAR NAME="date_due" --></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/request.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->">Reserved</a>
<!-- TMPL_ELSE -->
<input type="checkbox"
name="items[]"
value="<!-- TMPL_VAR NAME="itemnumber" -->"
<!-- TMPL_IF NAME="red" -->
checked="checked"
<!-- /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="3">Total Replacement Cost:</td><td><!-- TMPL_VAR NAME="totalprice" --></td><td colspan="2">&nbsp;</td></tr>
</table>
<div id="action">
<input type="submit" name="renew_checked" value="Renew Checked Items" />
<input type="submit" name="renew_all" value="Renew All" />
</div>
</form>
</fieldset>
<fieldset>
<legend>Reserves</legend>
<form action="/cgi-bin/koha/modrequest.pl" method="post">
<input type="hidden" name="from" value="borrower" />
<table>
<tr>
<th scope="row">Title</th>
<th scope="row">Requested</th>
<th scope="row">Remove</th>
</tr>
<!-- TMPL_LOOP name="reserveloop" -->
<!-- TMPL_IF NAME="toggle" -->
<tr class="highlight">
<!-- TMPL_ELSE -->
<tr>
<!-- /TMPL_IF -->
<td>
<a href="/cgi-bin/koha/request.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="btitle" --></a>
<!-- TMPL_IF name="volumeddesc" -->
<!-- TMPL_VAR NAME="volumeddesc" -->
<!-- TMPL_VAR NAME="itemtype" -->
<!-- /TMPL_IF -->
</td>
<td><!-- TMPL_VAR NAME="reservedate2" --></td>
<td>
<select name="rank-request">
<option value="n">No</option>
<option value="del">Yes</option>
</select>
</td>
<input type="hidden" name="biblio" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="bornum" -->" />
</tr>
<!-- /tmpl_loop -->
</table>
<!-- TMPL_IF name="reserveloop" -->
<input type="submit" class="cancel" name="submit" value="Cancel Marked Requests" />
<!-- /TMPL_IF -->
</form>
</fieldset>
<script language="JavaScript" type="text/javascript">
function confirm_deletion() {
var is_confirmed = confirm('Do you confirm deletion ?');
if (is_confirmed) {
window.location="/cgi-bin/koha/members/deletemem.pl?member=<!-- TMPL_VAR NAME="bornum" -->";
}
}
function confirm_reregistration() {
var is_confirmed = confirm('Do you confirm re_registration ?');
if (is_confirmed) {
window.location="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="bornum" -->&reregistration=y";
}
}
</script>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->