62b2e505d4
Add a field FR to the syspref AddressFormat Testplan 1 - Apply patch 2 - Check if there is a field FR in the syspref AddressFormat, enable it 3 - Create a new borrower and check the order of the fields for the address 4 - Check if it's address appears in a propper manner 27/02/17 : Fixed the display Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
21 lines
772 B
HTML
21 lines
772 B
HTML
[% IF ( address or address2 ) %]
|
|
[% IF ( address ) %]
|
|
[% SET roadtype_desc = '' %]
|
|
[% IF streettype %]
|
|
[% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE', streettype) %]
|
|
[% END %]
|
|
<li>
|
|
[% IF streetnumber %] [% streetnumber %][% END %]
|
|
[%IF roadtype_desc %] [% roadtype_desc %][% END %]
|
|
</li>
|
|
<li class="patronaddress1">[% address %]
|
|
</li>
|
|
[% END %]
|
|
[% IF ( address2 ) %]
|
|
<li class="patronaddress2">[% address2 %]</li>
|
|
[% END %]
|
|
[% END %]
|
|
[% IF ( city ) %]<li class="patroncity">
|
|
[%IF (zipcode ) %][% zipcode %] [% END %][% city %][% IF ( state ) %]</br>[% state %][% END %]
|
|
[% IF ( country ) %]<br />[% country %][% END %]</li>
|
|
[% END %]
|