Koha/koha-tmpl/intranet-tmpl/prog/en/includes/member-display-alt-address-style-us.inc
Marc Véron 9e1542eb84 Bug 10760: (followup) Move street type after address
As of comment #7

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-07-08 13:45:42 +00:00

16 lines
730 B
HTML

[% IF ( B_address or B_address2 ) %]
[% IF ( B_address ) %]
[% SET roadtype_desc = '' %]
[% IF B_streettype %]
[% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE', B_streettype) %]
[% END %]
<li class="patronaddress1">[% if (B_streetnumber) %][% B_streetnumber %][% end %] [% B_address %] [% IF roadtype_desc %][% roadtype_desc %] [% END %][% end %]</li>
[% END %]
[% IF ( B_address2 ) %]
<li class="patronaddress2">[% B_address2 %]</li>
[% END %]
[% END %]
[% IF ( B_city ) %]<li class="patroncity">
[% B_city %][% IF ( B_state ) %], [% B_state %][% END %]
[% B_zipcode %][% IF ( B_country ) %], [% B_country %][% END %]</li>
[% END %]