Lines 155-161
for (qw(gonenoaddress lost borrowernotes)) {
Link Here
|
155 |
} |
155 |
} |
156 |
|
156 |
|
157 |
if ( $patron->is_debarred ) { |
157 |
if ( $patron->is_debarred ) { |
158 |
$template->param( 'userdebarred' => 1, 'flagged' => 1 ); |
158 |
$template->param( |
|
|
159 |
userdebarred => 1, |
160 |
flagged => 1, |
161 |
debarments => GetDebarments({ borrowernumber => $borrowernumber }), |
162 |
); |
159 |
my $debar = $data->{'debarred'}; |
163 |
my $debar = $data->{'debarred'}; |
160 |
if ( $debar ne "9999-12-31" ) { |
164 |
if ( $debar ne "9999-12-31" ) { |
161 |
$template->param( 'userdebarreddate' => output_pref( { dt => dt_from_string( $debar ), dateonly => 1 } ) ); |
165 |
$template->param( 'userdebarreddate' => output_pref( { dt => dt_from_string( $debar ), dateonly => 1 } ) ); |
Lines 359-365
$template->param(
Link Here
|
359 |
AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'), |
363 |
AutoResumeSuspendedHolds => C4::Context->preference('AutoResumeSuspendedHolds'), |
360 |
SuspendHoldsIntranet => C4::Context->preference('SuspendHoldsIntranet'), |
364 |
SuspendHoldsIntranet => C4::Context->preference('SuspendHoldsIntranet'), |
361 |
RoutingSerials => C4::Context->preference('RoutingSerials'), |
365 |
RoutingSerials => C4::Context->preference('RoutingSerials'), |
362 |
debarments => GetDebarments({ borrowernumber => $borrowernumber }), |
|
|
363 |
PatronsPerPage => C4::Context->preference("PatronsPerPage") || 20, |
366 |
PatronsPerPage => C4::Context->preference("PatronsPerPage") || 20, |
364 |
relatives_issues_count => $relatives_issues_count, |
367 |
relatives_issues_count => $relatives_issues_count, |
365 |
relatives_borrowernumbers => \@relatives, |
368 |
relatives_borrowernumbers => \@relatives, |
366 |
- |
|
|