6
package-lock.json
generated
6
package-lock.json
generated
@@ -257,9 +257,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"apexcharts": {
|
"apexcharts": {
|
||||||
"version": "3.28.1",
|
"version": "3.29.0",
|
||||||
"resolved": "https://registry.npmjs.org/apexcharts/-/apexcharts-3.28.1.tgz",
|
"resolved": "https://registry.npmjs.org/apexcharts/-/apexcharts-3.29.0.tgz",
|
||||||
"integrity": "sha512-5M1KitI/XmY2Sx6ih9vQOXyQUTmotDG/cML2N6bkBlVseF10RPSzM7dkrf7Y68apSZF6e7J581gXXu1+qkLhCA==",
|
"integrity": "sha512-PhI17VayidYAbLb5/g+7WOeirgFrVopzt0qGwLq8V+cd6NXx4CeHYq3S0pDZiUGO7UFQ4YIrT8+ie9/Fnler+w==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"svg.draggable.js": "^2.2.2",
|
"svg.draggable.js": "^2.2.2",
|
||||||
"svg.easing.js": "^2.0.0",
|
"svg.easing.js": "^2.0.0",
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
"@fortawesome/fontawesome-svg-core": "^1.2.35",
|
"@fortawesome/fontawesome-svg-core": "^1.2.35",
|
||||||
"@fortawesome/free-solid-svg-icons": "^5.15.3",
|
"@fortawesome/free-solid-svg-icons": "^5.15.3",
|
||||||
"@fortawesome/vue-fontawesome": "^2.0.2",
|
"@fortawesome/vue-fontawesome": "^2.0.2",
|
||||||
"apexcharts": "^3.27.3",
|
"apexcharts": "^3.28.2",
|
||||||
"axios": "^0.15.3",
|
"axios": "^0.15.3",
|
||||||
"bootstrap": "^4.5.3",
|
"bootstrap": "^4.5.3",
|
||||||
"bootstrap-colorpicker": "^3.0.3",
|
"bootstrap-colorpicker": "^3.0.3",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -50,7 +50,8 @@ class AppDelegation extends BaseAppDelegation
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
// This value needs to have a value like 0.x
|
// This value needs to have a value like 0.x
|
||||||
$risk = 0.2;
|
$systemConfiguration = Bootstrap::getSystemConfiguration();
|
||||||
|
$risk = $systemConfiguration['at_risk_delegation_max_time'];
|
||||||
|
|
||||||
return $risk;
|
return $risk;
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
|||||||
@@ -278,6 +278,7 @@ class Home
|
|||||||
->first();
|
->first();
|
||||||
if (!empty($caseList)) {
|
if (!empty($caseList)) {
|
||||||
$tableName = $caseList->ADD_TAB_NAME;
|
$tableName = $caseList->ADD_TAB_NAME;
|
||||||
|
$proUid = $caseList->PRO_UID;
|
||||||
|
|
||||||
//this gets the configured columns
|
//this gets the configured columns
|
||||||
$columns = json_decode($caseList->CAL_COLUMNS);
|
$columns = json_decode($caseList->CAL_COLUMNS);
|
||||||
@@ -300,13 +301,18 @@ class Home
|
|||||||
}
|
}
|
||||||
|
|
||||||
//this modifies the query
|
//this modifies the query
|
||||||
if (!empty($tableName) && !empty($fields)) {
|
if (!empty($tableName)) {
|
||||||
$arguments[] = function ($query) use ($tableName, $fields, $customFilters, $types) {
|
$arguments[] = function ($query) use ($tableName, $fields, $customFilters, $types, $proUid) {
|
||||||
|
//setting the related process
|
||||||
|
$query->where('PROCESS.PRO_UID', '=', $proUid);
|
||||||
|
|
||||||
|
//setting columns data from report table
|
||||||
$query->leftJoin($tableName, "{$tableName}.APP_UID", "=", "APP_DELEGATION.APP_UID");
|
$query->leftJoin($tableName, "{$tableName}.APP_UID", "=", "APP_DELEGATION.APP_UID");
|
||||||
foreach ($fields as $value) {
|
foreach ($fields as $value) {
|
||||||
$query->addSelect($value);
|
$query->addSelect($value);
|
||||||
}
|
}
|
||||||
//filters for custom case list
|
|
||||||
|
//setting filters for custom case list
|
||||||
foreach ($customFilters as $key => $filter) {
|
foreach ($customFilters as $key => $filter) {
|
||||||
if (in_array($key, $fields)) {
|
if (in_array($key, $fields)) {
|
||||||
//special case for date range
|
//special case for date range
|
||||||
|
|||||||
@@ -84,7 +84,8 @@ class System
|
|||||||
'report_table_double_number' => 4,
|
'report_table_double_number' => 4,
|
||||||
'ext_ajax_timeout' => 600000,
|
'ext_ajax_timeout' => 600000,
|
||||||
'disable_task_manager_routing_async' => '0',
|
'disable_task_manager_routing_async' => '0',
|
||||||
'on_one_server_enable' => 0
|
'on_one_server_enable' => 0,
|
||||||
|
'at_risk_delegation_max_time' => '0.2',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1246,6 +1247,11 @@ class System
|
|||||||
$config['disable_task_manager_routing_async'] = self::$defaultConfig['disable_task_manager_routing_async'];
|
$config['disable_task_manager_routing_async'] = self::$defaultConfig['disable_task_manager_routing_async'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$value = $config['at_risk_delegation_max_time'];
|
||||||
|
if ($value > 0 && $value < 1) {
|
||||||
|
$config['at_risk_delegation_max_time'] = self::$defaultConfig['at_risk_delegation_max_time'];
|
||||||
|
}
|
||||||
|
|
||||||
return $config;
|
return $config;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user