Lines 417-422
Link Here
|
417 |
</ol> |
417 |
</ol> |
418 |
</fieldset> |
418 |
</fieldset> |
419 |
[% END # END relationships foreach %] |
419 |
[% END # END relationships foreach %] |
|
|
420 |
[% IF guarantor && (!relationships) %] |
421 |
<fieldset class="rows"> |
422 |
<ol> |
423 |
<li class="guarantor-details" data-borrowernumber="0"> |
424 |
<span class="label">Patron #:</span> |
425 |
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantor.borrowernumber | uri %]" target="blank">[% guarantor.borrowernumber | html %]</a> |
426 |
<input type="hidden" class="new_guarantor_id" name="new_guarantor_id" value="[% guarantor.borrowernumber %]"/> |
427 |
</li> |
428 |
|
429 |
<li> |
430 |
<label for="guarantor_surname">Surname: </label> |
431 |
<span class="new_guarantor_surname_text">[% guarantor.surname | html %]</span> |
432 |
</li> |
433 |
|
434 |
<li> |
435 |
<label for="guarantor_firstname">First name: </label> |
436 |
<span class="new_guarantor_firstname_text">[% guarantor.firstname | html %]</span> |
437 |
</li> |
438 |
|
439 |
<li> |
440 |
<label for="guarantor_relationship">Relationship: </label> |
441 |
<select class="new_guarantor_relationship" name="new_guarantor_relationship"> |
442 |
[% FOREACH pr IN possible_relationships.split('\|') %] |
443 |
<option value="[% pr | html %]">[% pr | html %]</option> |
444 |
[% END %] |
445 |
</select> |
446 |
</li> |
447 |
|
448 |
<li> |
449 |
<label for="guarantor_cancel"> </label> |
450 |
<span><a href="#" class="guarantor_cancel">Remove</a></span> |
451 |
</li> |
452 |
</ol> |
453 |
</fieldset> |
454 |
[% END %] |
420 |
</span> <!-- #/guarantor_relationships --> |
455 |
</span> <!-- #/guarantor_relationships --> |
421 |
|
456 |
|
422 |
<fieldset class="rows guarantor" id="guarantor_template"> |
457 |
<fieldset class="rows guarantor" id="guarantor_template"> |
423 |
- |
|
|