|
|
|
|
|
|
|
|
return $userProducer->credit < 0 || $userProducer->credit > 0; |
|
|
return $userProducer->credit < 0 || $userProducer->credit > 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function filterUserPointsSaleByExclusiveAccess(UserProducer $userProducer, array $pointsSaleArray = []): array |
|
|
|
|
|
|
|
|
public function filterPointsSaleByExclusiveAccess(UserProducer $userProducer, array $pointsSaleArray = []): array |
|
|
{ |
|
|
{ |
|
|
if(!$userProducer->getExclusiveAccessSelectedPointsSale()) { |
|
|
if(!$userProducer->getExclusiveAccessSelectedPointsSale()) { |
|
|
return $pointsSaleArray; |
|
|
return $pointsSaleArray; |