aca6ea26fe
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
44 lines
1.9 KiB
Cheetah
Executable file
44 lines
1.9 KiB
Cheetah
Executable file
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Guarantor Search</title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
</head>
|
|
<body>
|
|
|
|
<div id="doc" class="yui-t7">
|
|
<div id="bd">
|
|
|
|
|
|
<h1>Search for guarantor</h1>
|
|
<form action="/cgi-bin/koha/members/guarantor_search.pl" method="post">
|
|
<input type="text" name="member" value="<!-- TMPL_VAR NAME="member" -->" /> Ordered by
|
|
<select name="orderby">
|
|
<option value="surname,firstname">Surname</option>
|
|
<option value="cardnumber">Cardnumber</option>
|
|
</select>
|
|
<input type="submit" class="button" value="Search" />
|
|
</form>
|
|
|
|
<!--TMPL_IF NAME="results" -->
|
|
<p>Searched for <!-- TMPL_VAR NAME="member" -->, <!-- TMPL_VAR Name ="numresults" --> borrower(s) found:</p>
|
|
<table>
|
|
<tr>
|
|
<th>Cardnumber</th>
|
|
<th>Surname</th>
|
|
<th>Firstname</th>
|
|
<th>Date of birth</th>
|
|
<th>Address</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP NAME="resultsloop" -->
|
|
<tr>
|
|
<td><!-- TMPL_VAR NAME="cardnumber" --></td>
|
|
<td><p><a href="javascript:window.opener.document.form.guarantorid.value=<!-- TMPL_VAR NAME="borrowernumber" -->;window.opener.document.form.guarantorsearch.value='Modify Guarantor';window.opener.document.form.contactname.value='<!-- TMPL_VAR NAME="surname" ESCAPE=JS -->';window.opener.document.form.contactfirstname.value='<!-- TMPL_VAR NAME="firstname" ESCAPE=JS -->';window.opener.document.form.address.value='<!-- TMPL_VAR NAME="address" ESCAPE=JS -->';window.opener.document.form.city.value='<!-- TMPL_VAR NAME="city" ESCAPE=JS -->';window.opener.document.form.zipcode.value='<!-- TMPL_VAR NAME="zipcode" ESCAPE=JS -->';self.close();"><!-- TMPL_VAR NAME="surname" --></a></p>
|
|
<td><b><!-- TMPL_VAR NAME="firstname" --></b></td>
|
|
<td><!-- TMPL_VAR NAME="dateofbirth" --></td>
|
|
<td><p><!-- TMPL_VAR NAME="address" --> <!-- TMPL_VAR NAME="city" --></p></td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
<!--/TMPL_IF-->
|
|
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|