Lines 2278-2284
sub DelItemCheck {
Link Here
|
2278 |
if ($onloan){ |
2278 |
if ($onloan){ |
2279 |
$error = "book_on_loan" |
2279 |
$error = "book_on_loan" |
2280 |
} |
2280 |
} |
2281 |
elsif ( !C4::Context->IsSuperLibrarian() |
2281 |
elsif ( defined C4::Context->userenv |
|
|
2282 |
and !C4::Context->IsSuperLibrarian() |
2282 |
and C4::Context->preference("IndependentBranches") |
2283 |
and C4::Context->preference("IndependentBranches") |
2283 |
and ( C4::Context->userenv->{branch} ne $item->{'homebranch'} ) ) |
2284 |
and ( C4::Context->userenv->{branch} ne $item->{'homebranch'} ) ) |
2284 |
{ |
2285 |
{ |
2285 |
- |
|
|