PMCORE-3610
This commit is contained in:
@@ -3,11 +3,15 @@
|
||||
namespace ProcessMaker\BusinessModel\Cases;
|
||||
|
||||
use ProcessMaker\Model\Consolidated;
|
||||
use ProcessMaker\Model\Delegation;
|
||||
|
||||
class BatchRouting extends AbstractCases
|
||||
{
|
||||
// Columns to see in the cases list
|
||||
public $columnsView = [];
|
||||
public $columnsView = [
|
||||
// Columns view in the cases list
|
||||
'APP_DELEGATION.APP_NUMBER', // Case #
|
||||
];
|
||||
|
||||
/**
|
||||
* Get the columns related to the cases list
|
||||
@@ -37,6 +41,8 @@ class BatchRouting extends AbstractCases
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
$query = Delegation::query()->select($this->getColumnsView());
|
||||
$this->filters($query);
|
||||
// todo, the list for consolidated cases was not defined for the new HOME
|
||||
return [];
|
||||
}
|
||||
|
||||
@@ -7,7 +7,10 @@ use ProcessMaker\Model\Delegation;
|
||||
class Canceled extends AbstractCases
|
||||
{
|
||||
// Columns to see in the cases list
|
||||
public $columnsView = [];
|
||||
public $columnsView = [
|
||||
// Columns view in the cases list
|
||||
'APP_DELEGATION.APP_NUMBER', // Case #
|
||||
];
|
||||
|
||||
/**
|
||||
* Get the columns related to the cases list
|
||||
@@ -37,6 +40,8 @@ class Canceled extends AbstractCases
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
$query = Delegation::query()->select($this->getColumnsView());
|
||||
$this->filters($query);
|
||||
// todo, the list for canceled cases was not defined
|
||||
return [];
|
||||
}
|
||||
|
||||
@@ -7,7 +7,10 @@ use ProcessMaker\Model\Delegation;
|
||||
class Completed extends AbstractCases
|
||||
{
|
||||
// Columns to see in the cases list
|
||||
public $columnsView = [];
|
||||
public $columnsView = [
|
||||
// Columns view in the cases list
|
||||
'APP_DELEGATION.APP_NUMBER', // Case #
|
||||
];
|
||||
|
||||
/**
|
||||
* Get the columns related to the cases list
|
||||
@@ -37,6 +40,8 @@ class Completed extends AbstractCases
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
$query = Delegation::query()->select($this->getColumnsView());
|
||||
$this->filters($query);
|
||||
// todo, the list for completed cases was defined in participated
|
||||
return [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user