Fix for 1704, now if autoitemreturns is off you get a dialogue warning a
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / guarantor_search.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Guarantor Search</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4    <style type="text/css">
5    #custom-doc { width:44.46em;*width:43.39em;min-width:578px; margin:auto; text-align:left; }
6    </style>
7 </head>
8
9 <div id="custom-doc" class="yui-t7">
10    <div id="bd">
11         <div class="yui-g">
12         
13
14 <h3>Search for guarantor</h3>
15         <form action="/cgi-bin/koha/members/guarantor_search.pl" method="post">
16                 <fieldset>
17                 <input type="text" name="member" id="member" value="<!-- TMPL_VAR NAME="member" -->" class="focus" /> Ordered by
18                 <select name="orderby">
19                         <option value="surname,firstname">Surname</option>
20                         <option value="cardnumber">Cardnumber</option>
21                 </select> <input type="submit" class="button" value="Search" /></fieldset>
22         </form>
23
24 <!--TMPL_IF NAME="results" -->
25         <p>Searched for <span class="ex"><!-- TMPL_VAR NAME="member" --></span>, <!-- TMPL_VAR Name ="numresults" --> patron(s) found:</p>
26         <table>
27                 <tr>
28                         <th>Cardnumber</th>
29                         <th>Name</th>
30                         <th>Date of birth</th>
31                         <th>Address</th>
32                 </tr>
33                 <!-- TMPL_LOOP NAME="resultsloop" -->
34                         <tr>
35                                 <td><!-- TMPL_VAR NAME="cardnumber" --></td>
36                                 <td><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" -->, <!-- TMPL_VAR NAME="firstname" --></a></td> 
37                                 <td><!-- TMPL_VAR NAME="dateofbirth" --></td>
38                                 <td><p><!-- TMPL_VAR NAME="address" --> <!-- TMPL_VAR NAME="city" --></p></td>
39                         </tr>
40                 <!-- /TMPL_LOOP -->
41         </table>
42 <!--/TMPL_IF-->
43
44 <div id="closewindow"><a href="#" class="close">Cancel</a></div>
45 </div>
46 </div>
47 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->