Lines 2211-2217
sub DelItemCheck {
Link Here
|
2211 |
if ($onloan){ |
2211 |
if ($onloan){ |
2212 |
$error = "book_on_loan" |
2212 |
$error = "book_on_loan" |
2213 |
} |
2213 |
} |
2214 |
elsif ( C4::Context->userenv->{flags} & 1 and |
2214 |
elsif ( !(C4::Context->userenv->{flags} & 1) and |
2215 |
C4::Context->preference("IndependantBranches") and |
2215 |
C4::Context->preference("IndependantBranches") and |
2216 |
(C4::Context->userenv->{branch} ne |
2216 |
(C4::Context->userenv->{branch} ne |
2217 |
$item->{C4::Context->preference("HomeOrHoldingBranch")||'homebranch'}) ) |
2217 |
$item->{C4::Context->preference("HomeOrHoldingBranch")||'homebranch'}) ) |
2218 |
- |
|
|