Lines 3542-3547
return $exist;
Link Here
|
3542 |
|
3542 |
|
3543 |
Code is either an itemtype or collection doe depending on the pref BranchTransferLimitsType |
3543 |
Code is either an itemtype or collection doe depending on the pref BranchTransferLimitsType |
3544 |
|
3544 |
|
|
|
3545 |
Deprecated in favor of Koha::Item::Transfer::Limits->find/search and |
3546 |
Koha::Item->can_be_transferred. |
3547 |
|
3545 |
=cut |
3548 |
=cut |
3546 |
|
3549 |
|
3547 |
sub IsBranchTransferAllowed { |
3550 |
sub IsBranchTransferAllowed { |
Lines 3570-3575
sub IsBranchTransferAllowed {
Link Here
|
3570 |
|
3573 |
|
3571 |
$code is either itemtype or collection code depending on what the pref BranchTransferLimitsType is set to. |
3574 |
$code is either itemtype or collection code depending on what the pref BranchTransferLimitsType is set to. |
3572 |
|
3575 |
|
|
|
3576 |
Deprecated in favor of Koha::Item::Transfer::Limit->new. |
3577 |
|
3573 |
=cut |
3578 |
=cut |
3574 |
|
3579 |
|
3575 |
sub CreateBranchTransferLimit { |
3580 |
sub CreateBranchTransferLimit { |
Lines 3591-3596
Deletes all the library transfer limits for one library. Returns the
Link Here
|
3591 |
number of limits deleted, 0e0 if no limits were deleted, or undef if |
3596 |
number of limits deleted, 0e0 if no limits were deleted, or undef if |
3592 |
no arguments are supplied. |
3597 |
no arguments are supplied. |
3593 |
|
3598 |
|
|
|
3599 |
Deprecated in favor of Koha::Item::Transfer::Limits->search({ |
3600 |
fromBranch => $fromBranch |
3601 |
})->delete. |
3602 |
|
3594 |
=cut |
3603 |
=cut |
3595 |
|
3604 |
|
3596 |
sub DeleteBranchTransferLimits { |
3605 |
sub DeleteBranchTransferLimits { |
3597 |
- |
|
|