Lines 4-9
Link Here
|
4 |
[% USE Koha %] |
4 |
[% USE Koha %] |
5 |
[% USE KohaDates %] |
5 |
[% USE KohaDates %] |
6 |
[% USE Branches %] |
6 |
[% USE Branches %] |
|
|
7 |
[% USE AuthorisedValues %] |
7 |
[% PROCESS 'member-main-address-style.inc' %] |
8 |
[% PROCESS 'member-main-address-style.inc' %] |
8 |
[% PROCESS 'member-alt-address-style.inc' %] |
9 |
[% PROCESS 'member-alt-address-style.inc' %] |
9 |
[% PROCESS 'member-alt-contact-style.inc' %] |
10 |
[% PROCESS 'member-alt-contact-style.inc' %] |
Lines 485-493
legend.collapsed i.fa.fa-caret-down::before {
Link Here
|
485 |
</ol> |
486 |
</ol> |
486 |
</fieldset> <!-- /#memberentry_identity --> |
487 |
</fieldset> <!-- /#memberentry_identity --> |
487 |
[% END # hide fieldset %] |
488 |
[% END # hide fieldset %] |
488 |
|
489 |
[% SET possible_relationships = AuthorisedValues.Get( 'BOR_RELATIONSHIP' ) %] |
489 |
[% IF show_guarantor || guarantor %] |
490 |
[% IF show_guarantor || guarantor %] |
490 |
[% SET possible_relationships = Koha.Preference('borrowerRelationship') %] |
|
|
491 |
<div id="memberentry_guarantor_anchor"> |
491 |
<div id="memberentry_guarantor_anchor"> |
492 |
<fieldset id="memberentry_guarantor" class="rows"> |
492 |
<fieldset id="memberentry_guarantor" class="rows"> |
493 |
<legend class="expanded" id="patron_guarantor_lgd"> |
493 |
<legend class="expanded" id="patron_guarantor_lgd"> |
Lines 545-553
legend.collapsed i.fa.fa-caret-down::before {
Link Here
|
545 |
<select class="new_guarantor_relationship" name="new_guarantor_relationship"> |
545 |
<select class="new_guarantor_relationship" name="new_guarantor_relationship"> |
546 |
[% END %] |
546 |
[% END %] |
547 |
<option value=""></option> |
547 |
<option value=""></option> |
548 |
[% FOREACH pr IN possible_relationships.split('\|') %] |
548 |
[% FOREACH pr IN possible_relationships %] |
549 |
[% IF pr != "" %] |
549 |
[% IF pr.authorised_value != "" %] |
550 |
<option value="[% pr | html %]">[% pr | html %]</option> |
550 |
<option value="[% pr.authorised_value | html %]">[% pr.authorised_value | html %]</option> |
551 |
[% END %] |
551 |
[% END %] |
552 |
[% END %] |
552 |
[% END %] |
553 |
</select> |
553 |
</select> |
Lines 589-597
legend.collapsed i.fa.fa-caret-down::before {
Link Here
|
589 |
<select class="new_guarantor_relationship" name="new_guarantor_relationship"> |
589 |
<select class="new_guarantor_relationship" name="new_guarantor_relationship"> |
590 |
[% END %] |
590 |
[% END %] |
591 |
<option value="" selected></option> |
591 |
<option value="" selected></option> |
592 |
[% FOREACH pr IN possible_relationships.split('\|') %] |
592 |
[% FOREACH pr IN possible_relationships %] |
593 |
[% IF pr != "" %] |
593 |
[% IF pr.authorised_value != "" %] |
594 |
<option value="[% pr | html %]">[% pr | html %]</option> |
594 |
<option value="[% pr.authorised_value | html %]">[% pr.authorised_value | html %]</option> |
595 |
[% END %] |
595 |
[% END %] |
596 |
[% END %] |
596 |
[% END %] |
597 |
</select> |
597 |
</select> |
Lines 704-714
legend.collapsed i.fa.fa-caret-down::before {
Link Here
|
704 |
<select class="relationship" name="relationship"> |
704 |
<select class="relationship" name="relationship"> |
705 |
[% END %] |
705 |
[% END %] |
706 |
<option value=""></option> |
706 |
<option value=""></option> |
707 |
[% FOREACH pr IN possible_relationships.split('\|') %] |
707 |
[% FOREACH pr IN possible_relationships %] |
708 |
[% IF pr == borrower_data.relationship %] |
708 |
[% IF pr.authorised_value == borrower_data.relationship %] |
709 |
<option value="[% pr | html %]" selected="selected">[% pr | html %]</option> |
709 |
<option value="[% pr.authorised_value | html %]" selected="selected">[% pr.authorised_value | html %]</option> |
710 |
[% ELSE %] |
710 |
[% ELSE %] |
711 |
<option value="[% pr | html %]">[% pr | html %]</option> |
711 |
<option value="[% pr.authorised_value | html %]">[% pr.authorised_value | html %]</option> |
712 |
[% END %] |
712 |
[% END %] |
713 |
[% END %] |
713 |
[% END %] |
714 |
</select> |
714 |
</select> |