Lines 6-12
Link Here
|
6 |
</style> |
6 |
</style> |
7 |
<script type="text/javascript"> |
7 |
<script type="text/javascript"> |
8 |
<!-- |
8 |
<!-- |
9 |
function fillguarantor(id, surname, firstname, streetnumber, address, city, zipcode) { |
9 |
function fillguarantor(id, surname, firstname, streetnumber, address, address2, city, state, zipcode, country) { |
10 |
var $ = window.opener.$; |
10 |
var $ = window.opener.$; |
11 |
var form = $('#entryform').get(0); |
11 |
var form = $('#entryform').get(0); |
12 |
|
12 |
|
Lines 30-37
Link Here
|
30 |
|
30 |
|
31 |
form.streetnumber.value = streetnumber; |
31 |
form.streetnumber.value = streetnumber; |
32 |
form.address.value = address; |
32 |
form.address.value = address; |
|
|
33 |
form.address2.value = address2; |
33 |
form.city.value = city; |
34 |
form.city.value = city; |
|
|
35 |
form.state.value = state; |
34 |
form.zipcode.value = zipcode; |
36 |
form.zipcode.value = zipcode; |
|
|
37 |
form.country.value = country; |
35 |
|
38 |
|
36 |
form.guarantorsearch.value = 'Change'; |
39 |
form.guarantorsearch.value = 'Change'; |
37 |
self.close(); |
40 |
self.close(); |
Lines 73-82
Link Here
|
73 |
<!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR NAME="firstname" --> |
76 |
<!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR NAME="firstname" --> |
74 |
</td> |
77 |
</td> |
75 |
<td><!-- TMPL_VAR NAME="dateofbirth" --></td> |
78 |
<td><!-- TMPL_VAR NAME="dateofbirth" --></td> |
76 |
<td><p><!-- TMPL_VAR NAME="address" --> <!-- TMPL_VAR NAME="city" --></p></td> |
79 |
<td><p><!-- TMPL_VAR NAME="address" --> <!-- TMPL_VAR NAME="address2" --> <!-- TMPL_VAR NAME="city" --> <!-- TMPL_VAR NAME="state" --> <!-- TMPL_VAR NAME="zipcode" --> <!-- TMPL_VAR NAME="country" --></p></td> |
77 |
<td> |
80 |
<td> |
78 |
<form action=""> |
81 |
<form action=""> |
79 |
<input type="button" onclick="fillguarantor('<!-- TMPL_VAR NAME="borrowernumber" -->', '<!-- TMPL_VAR NAME="surname" ESCAPE=JS -->', '<!-- TMPL_VAR NAME="firstname" ESCAPE=JS -->', '<!-- TMPL_VAR NAME="streetnumber" ESCAPE=JS -->', '<!-- TMPL_VAR NAME="address" ESCAPE=JS -->', '<!-- TMPL_VAR NAME="city" ESCAPE=JS -->', '<!-- TMPL_VAR NAME="zipcode" ESCAPE=JS -->'); return false;" value="Select"/> |
82 |
<input type="button" onclick="fillguarantor('<!-- TMPL_VAR NAME="borrowernumber" -->', '<!-- TMPL_VAR NAME="surname" ESCAPE=JS -->', '<!-- TMPL_VAR NAME="firstname" ESCAPE=JS -->', '<!-- TMPL_VAR NAME="streetnumber" ESCAPE=JS -->', '<!-- TMPL_VAR NAME="address" ESCAPE=JS -->','<!-- TMPL_VAR NAME="address2" ESCAPE=JS -->', '<!-- TMPL_VAR NAME="city" ESCAPE=JS -->', '<!-- TMPL_VAR NAME="state" ESCAPE=JS -->','<!-- TMPL_VAR NAME="zipcode" ESCAPE=JS -->','<!-- TMPL_VAR NAME="country" ESCAPE=JS -->'); return false;" value="Select"/> |
80 |
</form> |
83 |
</form> |
81 |
</td> |
84 |
</td> |
82 |
</tr> |
85 |
</tr> |