Owen Leonard
9f0495238d
- Making duplicate patron warning dialog simpler but more explicit - Pointing duplicate patron preview window to new brief version of moremember.pl to display more patron details than the previous version. Signed-off-by: Galen Charlton <gmcharlt@gmail.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
97 lines
5.7 KiB
Cheetah
97 lines
5.7 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Check duplicate patron</title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<style type="text/css">
|
|
#custom-doc { width:44.23em;*width:43.12em;min-width:491px; margin:auto; text-align:left; }
|
|
</style>
|
|
</head>
|
|
<body style="padding:.5em;">
|
|
<div id="custom-doc" class="yui-t7">
|
|
<div id="bd">
|
|
<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-g">
|
|
<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>
|
|
</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="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 -->
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
<fieldset class="action"><input type="button" class="submit" value="Close window" onclick="window.close();" /></fieldset>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->
|