Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
@ -1,4 +1,5 @@
[% USE Koha %]
[% USE AuthorisedValues %]
[% BLOCK 'alt-address-style' %]
<fieldset class="rows" id="memberentry_address">
<legend id="alt_address_lgd">Alternate address</legend>
@ -55,6 +56,7 @@
[% END %]
[% BLOCK 'alt-address-style_roadtypes' %]
[% SET roadtypes = AuthorisedValues.GetAuthValueDropbox('ROADTYPE') %]
[% IF roadtypes %]
<li>
[% IF ( mandatoryB_streettype ) %]
[% BLOCK 'main-address-style' %]
<fieldset class="rows" id="memberentry_mainaddress">
<legend id="main_address_lgd">Main address</legend>
@ -46,6 +47,7 @@
[% BLOCK 'address-style_roadtypes' %]
[% IF ( mandatorystreettype ) %]
@ -425,6 +425,7 @@
<ol>
[% IF Koha.Preference('AddressFormat') != 'de' %][% INCLUDE streetnumber %][% END %]
[% UNLESS hidden.defined('streettype') %]
@ -701,9 +701,7 @@ $template->param(
);
my $cities = Koha::Cities->search( {}, { order_by => 'city_name' } );
my $roadtypes = C4::Koha::GetAuthorisedValues( 'ROADTYPE' );
$template->param(
roadtypes => $roadtypes,
cities => $cities,
@ -118,11 +118,6 @@ foreach my $attr (@$attributes) {
}
if ( $action eq 'create' ) {
my %borrower = ParseCgiForBorrower($cgi);