Merge remote-tracking branch 'upstream/develop' into bugfix/HOR-3275
This commit is contained in:
@@ -6838,8 +6838,8 @@ msgstr "Last Name"
|
||||
# TRANSLATION
|
||||
# LABEL/ID_REASSIGNMENT_SUCCESS
|
||||
#: LABEL/ID_REASSIGNMENT_SUCCESS
|
||||
msgid "The case #{APP_NUMBER} was reassigned to user {USER} successfully!"
|
||||
msgstr "The case #{APP_NUMBER} was reassigned to user {USER} successfully!"
|
||||
msgid "Case #{APP_NUMBER} was reassigned to user {USER}."
|
||||
msgstr "Case #{APP_NUMBER} was reassigned to user {USER}."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_REASSIGN_CONFIRM
|
||||
@@ -27686,8 +27686,8 @@ msgstr "To cancel a case, no parallel threads must be active. Only cases with on
|
||||
# TRANSLATION
|
||||
# LABEL/ID_REASSIGNMENT_ERROR
|
||||
#: LABEL/ID_REASSIGNMENT_ERROR
|
||||
msgid "The case was already derivated to other person. Try to open again the case to reassign."
|
||||
msgstr "The case was already derivated to other person. Try to open again the case to reassign."
|
||||
msgid "The case has already been routed or assigned to another person. Try to open the case again to reassign it."
|
||||
msgstr "The case has already been routed or assigned to another person. Try to open the case again to reassign it."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_REASSIGNMENT_PAUSED_ERROR
|
||||
|
||||
@@ -3725,7 +3725,7 @@ SELECT 'LABEL','ID_FIRSTNAME','en','First Name','2014-01-15'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_LASTNAME','en','Last Name','2014-01-15'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_REASSIGNMENT_SUCCESS','en','The case #{APP_NUMBER} was reassigned to user {USER} successfully!','2014-01-15'
|
||||
SELECT 'LABEL','ID_REASSIGNMENT_SUCCESS','en','Case #{APP_NUMBER} was reassigned to user {USER}.','2014-01-15'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_REASSIGN_CONFIRM','en','Are you sure to reassign the current case?','2014-01-15'
|
||||
UNION ALL
|
||||
@@ -10751,7 +10751,7 @@ SELECT 'LABEL','ID_SCRIPT_TASK_ACTIVITY_ALREADY_REGISTERED','en','The Script-Tas
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_CASE_CANCELLED_PARALLEL','en','To cancel a case, no parallel threads must be active. Only cases with one active thread can be canceled.','2016-08-11'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_REASSIGNMENT_ERROR','en','The case was already derivated to other person. Try to open again the case to reassign.','2016-08-12'
|
||||
SELECT 'LABEL','ID_REASSIGNMENT_ERROR','en','The case has already been routed or assigned to another person. Try to open the case again to reassign it.','2016-08-12'
|
||||
UNION ALL
|
||||
SELECT 'LABEL','ID_REASSIGNMENT_PAUSED_ERROR','en','The case is paused and can''t be reasigned.','2016-08-12'
|
||||
UNION ALL
|
||||
|
||||
@@ -2600,7 +2600,7 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE
|
||||
( 'LABEL','ID_CONFIRM_CANCEL_CASE','en','Are you sure you want to cancel this case?','2014-01-15') ,
|
||||
( 'LABEL','ID_FIRSTNAME','en','First Name','2014-01-15') ,
|
||||
( 'LABEL','ID_LASTNAME','en','Last Name','2014-01-15') ,
|
||||
( 'LABEL','ID_REASSIGNMENT_SUCCESS','en','The case #{APP_NUMBER} was reassigned to user {USER} successfully!','2014-01-15') ,
|
||||
( 'LABEL','ID_REASSIGNMENT_SUCCESS','en','Case #{APP_NUMBER} was reassigned to user {USER}.','2014-01-15') ,
|
||||
( 'LABEL','ID_REASSIGN_CONFIRM','en','Are you sure to reassign the current case?','2014-01-15') ,
|
||||
( 'LABEL','ID_CASE_PAUSED_SUCCESSFULLY','en','The Case {APP_NUMBER} was paused successfully and it will be unpaused on date {UNPAUSE_DATE}','2014-01-15') ,
|
||||
( 'LABEL','ID_VACATION','en','Vacation','2014-01-15') ,
|
||||
@@ -6159,7 +6159,7 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE
|
||||
( 'LABEL','ID_MAFE_ab3cc3868af33a9eb61a93bd0adec2a0','en','Collapse all','2016-08-12') ,
|
||||
( 'LABEL','ID_SCRIPT_TASK_ACTIVITY_ALREADY_REGISTERED','en','The Script-Task with {0}: "{1}" already registered','2016-08-01') ,
|
||||
( 'LABEL','ID_CASE_CANCELLED_PARALLEL','en','To cancel a case, no parallel threads must be active. Only cases with one active thread can be canceled.','2016-08-11') ,
|
||||
( 'LABEL','ID_REASSIGNMENT_ERROR','en','The case was already derivated to other person. Try to open again the case to reassign.','2016-08-12') ,
|
||||
( 'LABEL','ID_REASSIGNMENT_ERROR','en','The case has already been routed or assigned to another person. Try to open the case again to reassign it.','2016-08-12') ,
|
||||
( 'LABEL','ID_REASSIGNMENT_PAUSED_ERROR','en','The case is paused and can''t be reasigned.','2016-08-12') ,
|
||||
( 'LABEL','ID_THE_DEFAULT_CONFIGURATION','en','The default configuration was not defined','2016-11-16'),
|
||||
( 'LABEL','ID_MAFE_1de162d73f017a9243ce0c939064a014','en','Enable gallery','2016-08-12') ,
|
||||
|
||||
@@ -72,71 +72,42 @@ function getProcessList ()
|
||||
}
|
||||
|
||||
$processListTree = array ();
|
||||
if (1) {
|
||||
foreach ($processList as $key => $processInfo) {
|
||||
$tempTree['text'] = $key;
|
||||
$tempTree['id'] = G::encryptOld($key);
|
||||
$tempTree['cls'] = 'folder';
|
||||
$tempTree['draggable'] = true;
|
||||
$tempTree['optionType'] = "category";
|
||||
//$tempTree['allowDrop']=false;
|
||||
$tempTree['singleClickExpand'] = true;
|
||||
if ($key != "No Category") {
|
||||
$tempTree['expanded'] = true;
|
||||
} else {
|
||||
//$tempTree ['expanded'] = false;
|
||||
$tempTree['expanded'] = true;
|
||||
}
|
||||
$tempTreeChildren = array ();
|
||||
foreach ($processList[$key] as $keyChild => $processInfoChild) {
|
||||
//print_r($processInfo);
|
||||
$tempTreeChild['text'] = htmlentities($keyChild, ENT_QUOTES, 'UTF-8'); //ellipsis ( $keyChild, 50 );
|
||||
//$tempTree['text']=$key;
|
||||
$tempTreeChild['id'] = G::encryptOld($keyChild);
|
||||
$tempTreeChild['draggable'] = true;
|
||||
$tempTreeChild['leaf'] = true;
|
||||
$tempTreeChild['icon'] = '/images/icon.trigger.png';
|
||||
$tempTreeChild['allowChildren'] = false;
|
||||
$tempTreeChild['optionType'] = "startProcess";
|
||||
$tempTreeChild['pro_uid'] = $processInfoChild['pro_uid'];
|
||||
$tempTreeChild['tas_uid'] = $processInfoChild['uid'];
|
||||
$processInfoChild['myInbox'] = 0;
|
||||
$processInfoChild['totalInbox'] = 0;
|
||||
if (isset( $proData[$processInfoChild['pro_uid']] )) {
|
||||
$tempTreeChild['otherAttributes'] = array_merge( $processInfoChild, $proData[$processInfoChild['pro_uid']], $calendar->getCalendarFor( $_SESSION['USER_LOGGED'], $processInfoChild['pro_uid'], $processInfoChild['uid'] ) );
|
||||
$tempTreeChild['otherAttributes']['PRO_TAS_TITLE'] = str_replace( ")", "", str_replace( "(", "", trim( str_replace( $tempTreeChild['otherAttributes']['PRO_TITLE'], "", $tempTreeChild['otherAttributes']["value"] ) ) ) );
|
||||
$tempTreeChild['qtip'] = $tempTreeChild['otherAttributes']['PRO_DESCRIPTION'];
|
||||
//$tempTree['cls']='file';
|
||||
$tempTreeChildren[] = $tempTreeChild;
|
||||
}
|
||||
}
|
||||
|
||||
$tempTree['children'] = $tempTreeChildren;
|
||||
|
||||
$processListTree[] = $tempTree;
|
||||
foreach ($processList as $key => $processInfo) {
|
||||
$tempTree['text'] = $key;
|
||||
$tempTree['id'] = G::encryptOld($key);
|
||||
$tempTree['cls'] = 'folder';
|
||||
$tempTree['draggable'] = true;
|
||||
$tempTree['optionType'] = "category";
|
||||
$tempTree['singleClickExpand'] = true;
|
||||
if ($key != "No Category") {
|
||||
$tempTree['expanded'] = true;
|
||||
} else {
|
||||
$tempTree['expanded'] = true;
|
||||
}
|
||||
} else {
|
||||
foreach ($processList[$node] as $key => $processInfo) {
|
||||
//print_r($processInfo);
|
||||
$tempTree['text'] = $key; //ellipsis ( $key, 50 );
|
||||
//$tempTree['text']=$key;
|
||||
$tempTree['id'] = $key;
|
||||
$tempTree['draggable'] = true;
|
||||
$tempTree['leaf'] = true;
|
||||
$tempTree['icon'] = '/images/icon.trigger.png';
|
||||
$tempTree['allowChildren'] = false;
|
||||
$tempTree['optionType'] = "startProcess";
|
||||
$tempTree['pro_uid'] = $processInfo['pro_uid'];
|
||||
$tempTree['tas_uid'] = $processInfo['uid'];
|
||||
$processInfo['myInbox'] = 0;
|
||||
$processInfo['totalInbox'] = 0;
|
||||
$tempTree['otherAttributes'] = array_merge( $processInfo, $proData[$processInfo['pro_uid']], $calendar->getCalendarFor( $processInfo['uid'], $processInfo['uid'], $processInfo['uid'] ) );
|
||||
$tempTree['otherAttributes']['PRO_TAS_TITLE'] = str_replace( ")", "", str_replace( "(", "", trim( str_replace( $tempTree['otherAttributes']['PRO_TITLE'], "", $tempTree['otherAttributes']["value"] ) ) ) );
|
||||
$tempTree['qtip'] = $tempTree['otherAttributes']['PRO_DESCRIPTION'];
|
||||
//$tempTree['cls']='file';
|
||||
$processListTree[] = $tempTree;
|
||||
$tempTreeChildren = array();
|
||||
foreach ($processList[$key] as $keyChild => $processInfoChild) {
|
||||
$tempTreeChild['text'] = $keyChild;
|
||||
$tempTreeChild['id'] = G::encryptOld($keyChild);
|
||||
$tempTreeChild['draggable'] = true;
|
||||
$tempTreeChild['leaf'] = true;
|
||||
$tempTreeChild['icon'] = '/images/icon.trigger.png';
|
||||
$tempTreeChild['allowChildren'] = false;
|
||||
$tempTreeChild['optionType'] = "startProcess";
|
||||
$tempTreeChild['pro_uid'] = $processInfoChild['pro_uid'];
|
||||
$tempTreeChild['tas_uid'] = $processInfoChild['uid'];
|
||||
$processInfoChild['myInbox'] = 0;
|
||||
$processInfoChild['totalInbox'] = 0;
|
||||
if (isset($proData[$processInfoChild['pro_uid']])) {
|
||||
$tempTreeChild['otherAttributes'] = array_merge($processInfoChild, $proData[$processInfoChild['pro_uid']], $calendar->getCalendarFor($_SESSION['USER_LOGGED'], $processInfoChild['pro_uid'], $processInfoChild['uid']));
|
||||
$tempTreeChild['otherAttributes']['PRO_TAS_TITLE'] = str_replace(")", "", str_replace("(", "", trim(str_replace($tempTreeChild['otherAttributes']['PRO_TITLE'], "", $tempTreeChild['otherAttributes']["value"]))));
|
||||
$tempTreeChild['qtip'] = $tempTreeChild['otherAttributes']['PRO_DESCRIPTION'];
|
||||
$tempTreeChildren[] = $tempTreeChild;
|
||||
}
|
||||
}
|
||||
$tempTree['children'] = $tempTreeChildren;
|
||||
$processListTree[] = $tempTree;
|
||||
}
|
||||
|
||||
$processList = $processListTree;
|
||||
} else {
|
||||
$processList['success'] = 'failure';
|
||||
|
||||
@@ -1756,9 +1756,9 @@ class TimerEvent
|
||||
} while ($flagNextRecord);
|
||||
|
||||
if (!$flagRecord) {
|
||||
$common->frontEndShow("TEXT", "Not exists any record to continue a case, on date \"$datetime (UTC +00:00)\"");
|
||||
$common->frontEndShow("TEXT", "No existing records to continue a case, on date \"$datetime (UTC +00:00)\"");
|
||||
|
||||
$this->log("NO-RECORDS", "Not exists any record to continue a case");
|
||||
$this->log("NO-RECORDS", "No existing records to continue a case");
|
||||
$aInfo = array(
|
||||
'ip' => \G::getIpAddress()
|
||||
,'action' => $action
|
||||
@@ -1767,7 +1767,7 @@ class TimerEvent
|
||||
);
|
||||
$this->syslog(
|
||||
200
|
||||
,'Not exists any record to continue a case'
|
||||
,'No existing records to continue a case'
|
||||
,'NO-RECORDS'
|
||||
,$aInfo
|
||||
);
|
||||
|
||||
@@ -820,7 +820,6 @@ function newProcess(params)
|
||||
xtype:'textfield',
|
||||
width: 260,
|
||||
maxLength: 100,
|
||||
maskRe: /^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\...*)(\..+)?$)[^\x00-\x1f\\?*\";|/]+$/i,
|
||||
allowBlank: false,
|
||||
vtype: "textWithoutTags",
|
||||
autoCreate: {tag: 'input', type: 'text', size: '100', autocomplete: 'off', maxlength: '100'},
|
||||
@@ -837,16 +836,7 @@ function newProcess(params)
|
||||
xtype:'textarea',
|
||||
width: 260
|
||||
},
|
||||
ProcessCategories/*,
|
||||
{
|
||||
id: 'editor',
|
||||
xtype: 'radiogroup',
|
||||
fieldLabel: _('ID_OPEN_WITH'),
|
||||
items: [
|
||||
{boxLabel: _('ID_CLASSIC_EDITOR'), name: 'editor', inputValue: 'classic', checked: true},
|
||||
{boxLabel: _('ID_BPMN_EDITOR'), name: 'editor', inputValue: 'bpmn'}
|
||||
]
|
||||
}*/
|
||||
ProcessCategories
|
||||
],
|
||||
buttons : [{
|
||||
text : _('ID_CREATE'),
|
||||
|
||||
Reference in New Issue
Block a user