View | Details | Raw Unified | Return to bug 18112
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style.inc (+2 lines)
Lines 1-4 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE AuthorisedValues %]
2
[% BLOCK 'alt-address-style' %]
3
[% BLOCK 'alt-address-style' %]
3
    <fieldset class="rows" id="memberentry_address">
4
    <fieldset class="rows" id="memberentry_address">
4
        <legend id="alt_address_lgd">Alternate address</legend>
5
        <legend id="alt_address_lgd">Alternate address</legend>
Lines 55-60 Link Here
55
[% END %]
56
[% END %]
56
57
57
[% BLOCK 'alt-address-style_roadtypes' %]
58
[% BLOCK 'alt-address-style_roadtypes' %]
59
    [% SET roadtypes = AuthorisedValues.GetAuthValueDropbox('ROADTYPE') %]
58
    [% IF roadtypes %]
60
    [% IF roadtypes %]
59
        <li>
61
        <li>
60
            [% IF ( mandatoryB_streettype ) %]
62
            [% IF ( mandatoryB_streettype ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style.inc (+2 lines)
Lines 1-4 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE AuthorisedValues %]
2
[% BLOCK 'main-address-style' %]
3
[% BLOCK 'main-address-style' %]
3
    <fieldset class="rows" id="memberentry_mainaddress">
4
    <fieldset class="rows" id="memberentry_mainaddress">
4
        <legend id="main_address_lgd">Main address</legend>
5
        <legend id="main_address_lgd">Main address</legend>
Lines 46-51 Link Here
46
[% END %]
47
[% END %]
47
48
48
[% BLOCK 'address-style_roadtypes' %]
49
[% BLOCK 'address-style_roadtypes' %]
50
    [% SET roadtypes = AuthorisedValues.GetAuthValueDropbox('ROADTYPE') %]
49
    [% IF roadtypes %]
51
    [% IF roadtypes %]
50
        <li>
52
        <li>
51
            [% IF ( mandatorystreettype ) %]
53
            [% IF ( mandatorystreettype ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt (+1 lines)
Lines 425-430 Link Here
425
                                    <ol>
425
                                    <ol>
426
                                        [% IF Koha.Preference('AddressFormat') != 'de' %][% INCLUDE streetnumber %][% END %]
426
                                        [% IF Koha.Preference('AddressFormat') != 'de' %][% INCLUDE streetnumber %][% END %]
427
427
428
                                        [% SET roadtypes = AuthorisedValues.GetAuthValueDropbox('ROADTYPE') %]
428
                                        [% IF roadtypes %]
429
                                        [% IF roadtypes %]
429
                                            [% UNLESS hidden.defined('streettype') %]
430
                                            [% UNLESS hidden.defined('streettype') %]
430
                                                <li>
431
                                                <li>
(-)a/members/memberentry.pl (-2 lines)
Lines 701-709 $template->param( Link Here
701
);
701
);
702
702
703
my $cities = Koha::Cities->search( {}, { order_by => 'city_name' } );
703
my $cities = Koha::Cities->search( {}, { order_by => 'city_name' } );
704
my $roadtypes = C4::Koha::GetAuthorisedValues( 'ROADTYPE' );
705
$template->param(
704
$template->param(
706
    roadtypes => $roadtypes,
707
    cities    => $cities,
705
    cities    => $cities,
708
);
706
);
709
707
(-)a/opac/opac-memberentry.pl (-6 lines)
Lines 118-128 foreach my $attr (@$attributes) { Link Here
118
    }
118
    }
119
}
119
}
120
120
121
my $roadtypes = C4::Koha::GetAuthorisedValues( 'ROADTYPE' );
122
$template->param(
123
    roadtypes => $roadtypes,
124
);
125
126
if ( $action eq 'create' ) {
121
if ( $action eq 'create' ) {
127
122
128
    my %borrower = ParseCgiForBorrower($cgi);
123
    my %borrower = ParseCgiForBorrower($cgi);
129
- 

Return to bug 18112