Lines 169-174
if ( my $guarantor = $patron->guarantor ) {
Link Here
|
169 |
$template->param( guarantor => $guarantor ); |
169 |
$template->param( guarantor => $guarantor ); |
170 |
push @relatives, $guarantor->borrowernumber; |
170 |
push @relatives, $guarantor->borrowernumber; |
171 |
push @relatives, $_->borrowernumber for $patron->siblings; |
171 |
push @relatives, $_->borrowernumber for $patron->siblings; |
|
|
172 |
} elsif ( $patron->contactname || $patron->contactfirstname ) { |
173 |
$template->param( |
174 |
guarantor => { |
175 |
firstname => $patron->contactfirstname, |
176 |
surname => $patron->contactname, |
177 |
} |
178 |
); |
172 |
} else { |
179 |
} else { |
173 |
my @guarantees = $patron->guarantees; |
180 |
my @guarantees = $patron->guarantees; |
174 |
$template->param( guarantees => \@guarantees ); |
181 |
$template->param( guarantees => \@guarantees ); |
175 |
- |
|
|