Announcement

Collapse
No announcement yet.

Closed Status - Case

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Closed Status - Case

    I want to add different Closed Status' to my cases entity, but I am not sure how to do that.
    I do not have a whole lot of knowledge on developer routes, but I am not sure if there was a way to make more than 1 Closed Status.

    I have attached a picture of what I want my status' to be. Except for the "Resolved (Closed)' status, which I renamed the regular Closed Status to this, I want to make the other ones that have "(Closed)" also close the case and remove from my cases.

    I have also attached a picture of it still showing in My Cases.

    Any help would be appreciated. Thank You!

  • #2
    Hello
    You need to override Select Manager for Case. The main class is here application/Espo/Modules/Crm/SelectManagers/CaseObj.php
    create custom/Espo/Custom/SelectManagers/CaseObj.php and override filterOpen and filterClosed

    Code:
    <?php
    namespace custom\Espo\Custom\SelectManagers\CaseObj;
    
    class CaseObj extends \Espo\Modules\Crm\SelectManagers\Account
    {
    protected function filterOpen(&$result)
    {
     //////get the code from parent and add your statuses
    );
    }
    }

    Comment

    Working...
    X