View | Details | Raw Unified | Return to bug 30275
Collapse All | Expand All

(-)a/Koha/Checkout.pm (-1 / +15 lines)
Lines 121-126 sub issuer { Link Here
121
    return Koha::Patron->_new_from_dbic( $issuer_rs );
121
    return Koha::Patron->_new_from_dbic( $issuer_rs );
122
}
122
}
123
123
124
=head3 renewals
125
126
  my $renewals = $checkout->renewals;
127
128
Return a Koha::Checkouts::Renewals set attached to this checkout
129
130
=cut
131
132
sub renewals {
133
    my ( $self ) = @_;
134
    my $renewals_rs = $self->_result->renewals;
135
    return unless $renewals_rs;
136
    return Koha::Checkouts::Renewals->_new_from_dbic( $renewals_rs );
137
}
138
124
=head3 to_api_mapping
139
=head3 to_api_mapping
125
140
126
This method returns the mapping for representing a Koha::Checkout object
141
This method returns the mapping for representing a Koha::Checkout object
127
- 

Return to bug 30275