Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
It should not be used directly, prefer to access fields you need instead of
retrieving all these fields in one go.
It should not be used directly, prefer to access fields you need instead of
retrieving all these fields in one go.
=cut
sub pending_checkouts {
=cut
sub pending_checkouts {
Return true if the patron has a category with a type Child (C)
=cut
Return true if the patron has a category with a type Child (C)
=cut
sub is_child {
my( $self ) = @_;
return $self->category->category_type eq 'C' ? 1 : 0;
sub is_child {
my( $self ) = @_;
return $self->category->category_type eq 'C' ? 1 : 0;