HOR-3160
update
This commit is contained in:
@@ -2227,19 +2227,20 @@ class Cases
|
|||||||
$Fields['DEL_INDEX'] = $iDelIndex;
|
$Fields['DEL_INDEX'] = $iDelIndex;
|
||||||
$Fields['APP_STATUS'] = 'TO_DO';
|
$Fields['APP_STATUS'] = 'TO_DO';
|
||||||
$Fields['DEL_DELEGATE_DATE'] = $Fields['APP_INIT_DATE'];
|
$Fields['DEL_DELEGATE_DATE'] = $Fields['APP_INIT_DATE'];
|
||||||
if(!$isSubprocess){
|
if (!$isSubprocess) {
|
||||||
$Fields['APP_STATUS'] = 'DRAFT';
|
$Fields['APP_STATUS'] = 'DRAFT';
|
||||||
|
} else {
|
||||||
|
$Fields['APP_INIT_DATE'] = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$inbox = new ListInbox();
|
$inbox = new ListInbox();
|
||||||
$inbox->newRow($Fields, $sUsrUid, $isSelfService);
|
$inbox->newRow($Fields, $sUsrUid, $isSelfService);
|
||||||
|
|
||||||
//Multiple Instance
|
//Multiple Instance
|
||||||
foreach($aUserFields as $rowUser){
|
foreach ($aUserFields as $rowUser) {
|
||||||
$Fields["USR_UID"] = $rowUser["USR_UID"];
|
$Fields["USR_UID"] = $rowUser["USR_UID"];
|
||||||
$Fields["DEL_INDEX"] = $rowUser["DEL_INDEX"];
|
$Fields["DEL_INDEX"] = $rowUser["DEL_INDEX"];
|
||||||
$inbox = new ListInbox();
|
$inbox = new ListInbox();
|
||||||
$inbox->newRow($Fields, $sUsrUid, $isSelfService);
|
$inbox->newRow($Fields, $sUsrUid, $isSelfService);
|
||||||
}
|
}
|
||||||
/*----------------------------------********---------------------------------*/
|
/*----------------------------------********---------------------------------*/
|
||||||
} catch (exception $e) {
|
} catch (exception $e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user