PM-1695 Crear nuevo endpoint para el contador de casos

This commit is contained in:
Brayan Pereyra
2015-03-06 18:06:31 -04:00
parent 2563a69d4d
commit 5738fa0864
19 changed files with 784 additions and 216 deletions

View File

@@ -748,8 +748,17 @@ class Derivation
//SETS THE APP_PROC_CODE
//if (isset($nextDel['TAS_DEF_PROC_CODE']))
//$appFields['APP_PROC_CODE'] = $nextDel['TAS_DEF_PROC_CODE'];
unset( $aSP );
/*----------------------------------********---------------------------------*/
if (!empty($iNewDelIndex) && empty($aSP)) {
$oAppDel = AppDelegationPeer::retrieveByPK( $appFields['APP_UID'], $iNewDelIndex );
$aFields = $oAppDel->toArray( BasePeer::TYPE_FIELDNAME );
$aFields['APP_STATUS'] = $currentDelegation['APP_STATUS'];
$inbox = new ListInbox();
$inbox->newRow($aFields, $nextDel['USR_UID']);
}
/*----------------------------------********---------------------------------*/
unset( $aSP );
} //end foreach