@@ -, +, @@ moremember-brief.tt - Apply patch - Create a new patron with the same first and last name as an existing patron. This should trigger a duplicate warning message. Click the "View existing record" link to trigger a pop-up window with a patron detail brief view. - Verify that the address information displays the same way as on the patron details screen (moremember.pl). - Change syspref 'AddressFormat' and verify that the address displays as appropriate. Works as described: AddressFormat is taken into account on 'view exiting record' dialog box. --- .../prog/en/modules/members/moremember-brief.tt | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt @@ -1,3 +1,4 @@ +[% USE Koha %] [% USE KohaDates %] [% INCLUDE 'doc-head-open.inc' %] Koha › Check duplicate patron @@ -16,17 +17,13 @@
[% UNLESS ( I ) %][% IF ( othernames ) %]“[% othernames %]”[% END %] - -

[% streetnumber %] - [% IF ( roaddetails ) %] - [% roaddetails %] - [% END %] - [% address %]
- [% IF ( address2 ) %][% address2 %]
[% END %] - [% IF ( city ) %][% city %][% END %] - [% IF ( zipcode ) %][% zipcode %]
[% END %] - [% IF ( country ) %][% country %][% END %]

- +
+ [% IF Koha.Preference( 'AddressFormat' ) %] + [% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] + [% ELSE %] + [% INCLUDE 'member-display-address-style-us.inc' %] + [% END %] +
    [% IF ( I ) %] --