Lines 859-866
sub CanUserManageBasket {
Link Here
|
859 |
|
859 |
|
860 |
if ($AcqViewBaskets eq 'user' |
860 |
if ($AcqViewBaskets eq 'user' |
861 |
&& $basket->{authorisedby} != $borrowernumber |
861 |
&& $basket->{authorisedby} != $borrowernumber |
862 |
&& grep($borrowernumber, GetBasketUsers($basketno)) == 0) { |
862 |
&& ! grep { $borrowernumber eq $_ } GetBasketUsers($basketno)) { |
863 |
return 0; |
863 |
return 0; |
864 |
} |
864 |
} |
865 |
|
865 |
|
866 |
if ($AcqViewBaskets eq 'branch' && defined $basket->{branch} |
866 |
if ($AcqViewBaskets eq 'branch' && defined $basket->{branch} |
867 |
- |
|
|