Lines 3272-3278
sub GetRenewCount {
Link Here
|
3272 |
|
3272 |
|
3273 |
=head2 GetSoonestRenewDate |
3273 |
=head2 GetSoonestRenewDate |
3274 |
|
3274 |
|
3275 |
$NoRenewalBeforeThisDate = &GetSoonestRenewDate($issue); |
3275 |
$NoRenewalBeforeThisDate = &GetSoonestRenewDate($checkout); |
3276 |
|
3276 |
|
3277 |
Find out the soonest possible renew date of a borrowed item. |
3277 |
Find out the soonest possible renew date of a borrowed item. |
3278 |
|
3278 |
|
Lines 3281-3287
C<$checkout> is the checkout object to renew.
Link Here
|
3281 |
C<$GetSoonestRenewDate> returns the DateTime of the soonest possible |
3281 |
C<$GetSoonestRenewDate> returns the DateTime of the soonest possible |
3282 |
renew date, based on the value "No renewal before" of the applicable |
3282 |
renew date, based on the value "No renewal before" of the applicable |
3283 |
issuing rule. Returns the current date if the item can already be |
3283 |
issuing rule. Returns the current date if the item can already be |
3284 |
renewed, and returns undefined if the borrower, loan, or item |
3284 |
renewed, and returns undefined if the patron, item, or checkout |
3285 |
cannot be found. |
3285 |
cannot be found. |
3286 |
|
3286 |
|
3287 |
=cut |
3287 |
=cut |
3288 |
- |
|
|