|
Lines 376-382
sub GetPatronInfo {
Link Here
|
| 376 |
|
376 |
|
| 377 |
# Cleaning the borrower hashref |
377 |
# Cleaning the borrower hashref |
| 378 |
my $flags = C4::Members::patronflags( $borrower ); |
378 |
my $flags = C4::Members::patronflags( $borrower ); |
| 379 |
$borrower->{'charges'} = $flags>{'CHARGES'}->{'amount'}; |
379 |
$borrower->{'charges'} = $flags->{'CHARGES'}->{'amount'}; |
| 380 |
my $library = Koha::Libraries->find( $borrower->{branchcode} ); |
380 |
my $library = Koha::Libraries->find( $borrower->{branchcode} ); |
| 381 |
$borrower->{'branchname'} = $library ? $library->branchname : ''; |
381 |
$borrower->{'branchname'} = $library ? $library->branchname : ''; |
| 382 |
delete $borrower->{'userid'}; |
382 |
delete $borrower->{'userid'}; |
| 383 |
- |
|
|