|
Lines 196-207
sub hold_patron_name {
Link Here
|
| 196 |
|
196 |
|
| 197 |
sub hold_patron_bcode { |
197 |
sub hold_patron_bcode { |
| 198 |
my $self = shift; |
198 |
my $self = shift; |
| 199 |
my $borrowernumber = (@_ ? shift: $self->hold_patron_id()) or return; |
199 |
my $borrowernumber = (@_ ? shift: $self->hold_patron_id()) or return q{}; |
| 200 |
my $holder = Koha::Patrons->find( $borrowernumber ); |
200 |
my $holder = Koha::Patrons->find( $borrowernumber ); |
| 201 |
if ($holder and $holder->cardnumber ) { |
201 |
if ($holder and $holder->cardnumber ) { |
| 202 |
return $holder->cardnumber; |
202 |
return $holder->cardnumber; |
| 203 |
} |
203 |
} |
| 204 |
return; |
204 |
return q(); |
| 205 |
} |
205 |
} |
| 206 |
|
206 |
|
| 207 |
sub destination_loc { |
207 |
sub destination_loc { |
| 208 |
- |
|
|