update
This commit is contained in:
@@ -814,7 +814,7 @@ class Cases
|
||||
|
||||
// Update case title
|
||||
if (!empty($appUid) && !empty($appFields['APP_NUMBER']) && $appFields['APP_NUMBER'] > 0 && !empty($appFields['DEL_INDEX'])) {
|
||||
$threadInfo = $this->updateThreadTitle($appUid, $appFields['APP_NUMBER'], $appFields['DEL_INDEX'], $appFields['APP_DATA']);
|
||||
$threadInfo = $this->updateThreadTitle($appUid, $appFields['APP_NUMBER'], $appFields['DEL_INDEX'], $appData);
|
||||
$Fields['APP_TITLE'] = $threadInfo['title'];
|
||||
$Fields['APP_DESCRIPTION'] = $threadInfo['description'];
|
||||
}
|
||||
|
||||
@@ -403,11 +403,6 @@ class AppProxy extends HttpProxyController
|
||||
'label' => G::LoadTranslation('ID_CASE_NUMBER') . ': ',
|
||||
'value' => $appFields['APP_NUMBER'],
|
||||
],
|
||||
$i++ => [ // Case Title
|
||||
'id' => 'CASE_TITLE',
|
||||
'label' => G::LoadTranslation('ID_TASK_TITLE') . ': ',
|
||||
'value' => $appFields['TITLE'],
|
||||
],
|
||||
$i++ => [ // Case Status
|
||||
'id' => 'CASE_STATUS',
|
||||
'label' => G::LoadTranslation('ID_CASE_STATUS') . ': ',
|
||||
@@ -420,7 +415,7 @@ class AppProxy extends HttpProxyController
|
||||
],
|
||||
$i++ => [ // Delegate Date
|
||||
'id' => 'DEL_DELEGATE_DATE',
|
||||
'label' => G::LoadTranslation('DEL_DELEGATE_DATE') . ': ',
|
||||
'label' => G::LoadTranslation('ID_TASK_DELEGATE_DATE') . ': ',
|
||||
'value' => DateTime::convertUtcToTimeZone($delegateDateLabel),
|
||||
],
|
||||
$i++ => [ // Duration
|
||||
|
||||
@@ -1830,6 +1830,10 @@ class Light extends Api
|
||||
try {
|
||||
$usr_uid = $this->getUserId();
|
||||
$cases = new BusinessModelCases();
|
||||
//for propel connection is required $_SESSION['PROCESS']
|
||||
if (!empty($pro_uid)) {
|
||||
$_SESSION['PROCESS'] = $pro_uid;
|
||||
}
|
||||
$response = $cases->getCaseVariables($app_uid, $usr_uid, $dyn_uid, $pro_uid, $act_uid, $app_index);
|
||||
|
||||
return DateTime::convertUtcToTimeZone($response);
|
||||
|
||||
Reference in New Issue
Block a user