Lines 3586-3591
return $exist;
Link Here
|
3586 |
|
3586 |
|
3587 |
Code is either an itemtype or collection doe depending on the pref BranchTransferLimitsType |
3587 |
Code is either an itemtype or collection doe depending on the pref BranchTransferLimitsType |
3588 |
|
3588 |
|
|
|
3589 |
Deprecated in favor of Koha::Item::Transfer::Limits->find/search and |
3590 |
Koha::Item->can_be_transferred. |
3591 |
|
3589 |
=cut |
3592 |
=cut |
3590 |
|
3593 |
|
3591 |
sub IsBranchTransferAllowed { |
3594 |
sub IsBranchTransferAllowed { |
Lines 3614-3619
sub IsBranchTransferAllowed {
Link Here
|
3614 |
|
3617 |
|
3615 |
$code is either itemtype or collection code depending on what the pref BranchTransferLimitsType is set to. |
3618 |
$code is either itemtype or collection code depending on what the pref BranchTransferLimitsType is set to. |
3616 |
|
3619 |
|
|
|
3620 |
Deprecated in favor of Koha::Item::Transfer::Limit->new. |
3621 |
|
3617 |
=cut |
3622 |
=cut |
3618 |
|
3623 |
|
3619 |
sub CreateBranchTransferLimit { |
3624 |
sub CreateBranchTransferLimit { |
Lines 3635-3640
Deletes all the library transfer limits for one library. Returns the
Link Here
|
3635 |
number of limits deleted, 0e0 if no limits were deleted, or undef if |
3640 |
number of limits deleted, 0e0 if no limits were deleted, or undef if |
3636 |
no arguments are supplied. |
3641 |
no arguments are supplied. |
3637 |
|
3642 |
|
|
|
3643 |
Deprecated in favor of Koha::Item::Transfer::Limits->search({ |
3644 |
fromBranch => $fromBranch |
3645 |
})->delete. |
3646 |
|
3638 |
=cut |
3647 |
=cut |
3639 |
|
3648 |
|
3640 |
sub DeleteBranchTransferLimits { |
3649 |
sub DeleteBranchTransferLimits { |
3641 |
- |
|
|