|
Lines 1343-1349
Return true if the patron (usually the logged in user) can see the patron's info
Link Here
|
| 1343 |
sub can_see_patron_infos { |
1343 |
sub can_see_patron_infos { |
| 1344 |
my ( $self, $patron ) = @_; |
1344 |
my ( $self, $patron ) = @_; |
| 1345 |
return unless $patron; |
1345 |
return unless $patron; |
| 1346 |
return $self->can_see_patrons_from( $patron->library->branchcode ); |
1346 |
return $self->can_see_patrons_from( $patron->get_column('branchcode') ); |
| 1347 |
} |
1347 |
} |
| 1348 |
|
1348 |
|
| 1349 |
=head3 can_see_patrons_from |
1349 |
=head3 can_see_patrons_from |
| 1350 |
- |
|
|