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

(-)a/members/member-flags.pl (-30 / +4 lines)
Lines 171-206 if (C4::Context->preference('ExtendedPatronAttributes')) { Link Here
171
    );
171
    );
172
}
172
}
173
173
174
# Computes full borrower address
175
my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $bor->{streettype} );
176
my $address = $bor->{'streetnumber'} . " $roadtype " . $bor->{'address'};
177
178
$template->param(
174
$template->param(
179
		borrowernumber => $bor->{'borrowernumber'},
175
                  borrowernumber => $bor->{'borrowernumber'},
180
    cardnumber => $bor->{'cardnumber'},
176
                  surname        => $bor->{'surname'},
181
		surname => $bor->{'surname'},
177
                  firstname      => $bor->{'firstname'},
182
		firstname => $bor->{'firstname'},
178
                  loop           => \@loop,
183
        othernames => $bor->{'othernames'},
184
		categorycode => $bor->{'categorycode'},
185
		category_type => $bor->{'category_type'},
186
		categoryname => $bor->{'description'},
187
        address => $address,
188
		address2 => $bor->{'address2'},
189
		city => $bor->{'city'},
190
        state => $bor->{'state'},
191
		zipcode => $bor->{'zipcode'},
192
		country => $bor->{'country'},
193
		phone => $bor->{'phone'},
194
        phonepro => $bor->{'phonepro'},
195
        mobile => $bor->{'mobile'},
196
		email => $bor->{'email'},
197
        emailpro => $bor->{'emailpro'},
198
		branchcode => $bor->{'branchcode'},
199
		branchname => GetBranchName($bor->{'branchcode'}),
200
		loop => \@loop,
201
		is_child        => ($bor->{'category_type'} eq 'C'),
202
		activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
203
        RoutingSerials => C4::Context->preference('RoutingSerials'),
204
		);
179
		);
205
180
206
    output_html_with_http_headers $input, $cookie, $template->output;
181
    output_html_with_http_headers $input, $cookie, $template->output;
207
- 

Return to bug 14136