codebar-ag / laravel-zammad

Zammad integration with Laravel.
https://zammad.com
MIT License
8 stars 0 forks source link

Define Active & Inactive States #17

Closed StanBarrows closed 1 year ago

StanBarrows commented 2 years ago
   public function isActive(): bool
    {
        return in_array($this->state_id, [1, 2, 3, 4, 7]);
    }

    public function isInactive(): bool
    {
        return in_array($this->state_id, [5, 6]);
    }