[% IF borrowers.$borrowernumber.gonenoaddress > 0 %]
[% END %]
[% IF !pm.extended_attributes and pm.size > 3 or pm.extended_attributes and pm.size > 4 %]
[%# timestamp+verification_token+borrowernumber=3 %]
Field |
Old value |
New value |
[% FOREACH key IN pm.keys %]
[% IF ( key != "timestamp" and key != "extended_attributes" ) %]
[% IF ( ( pm.$key OR borrowers.$borrowernumber.$key ) && ( pm.$key != borrowers.$borrowernumber.$key ) ) %]
[% PROCESS display_names field = key %] |
[% IF ( key == "dateofbirth" ) %]
[% borrowers.$borrowernumber.$key | $KohaDates %] |
[% pm.$key | $KohaDates %] |
[% ELSIF key == 'branchcode' %]
[% Branches.GetName( borrowers.$borrowernumber.$key ) | html %] |
[% Branches.GetName( pm.$key ) | html %] |
[% ELSE %]
[% borrowers.$borrowernumber.$key | html %] |
[% pm.$key | html %] |
[% END %]
[% END %]
[% END %]
[% END %]
[% END # /!pm.extended_attributes %]
[% IF borrowers.$borrowernumber.modified_attributes %]
[% PROCESS display_names field='extended_attributes' %]
Field |
Old value |
New value |
[% FOREACH attribute_group IN borrowers.$borrowernumber.modified_attributes %]
[% attribute_group.type.description | html %] |
[% PROCESS display_extended_attributes attrs=attribute_group.before type=attribute_group.type %] |
[% PROCESS display_extended_attributes attrs=attribute_group.after type=attribute_group.type %] |
[% END %]
[% END # / borrowers.$borrowernumber.modified_attributes %]