Lines 2336-2342
sub DelItemCheck {
Link Here
|
2336 |
if ($onloan){ |
2336 |
if ($onloan){ |
2337 |
$error = "book_on_loan" |
2337 |
$error = "book_on_loan" |
2338 |
} |
2338 |
} |
2339 |
elsif ( !C4::Context->IsSuperLibrarian() |
2339 |
elsif ( defined C4::Context->userenv |
|
|
2340 |
and !C4::Context->IsSuperLibrarian() |
2340 |
and C4::Context->preference("IndependentBranches") |
2341 |
and C4::Context->preference("IndependentBranches") |
2341 |
and ( C4::Context->userenv->{branch} ne $item->{'homebranch'} ) ) |
2342 |
and ( C4::Context->userenv->{branch} ne $item->{'homebranch'} ) ) |
2342 |
{ |
2343 |
{ |
2343 |
- |
|
|