BUG 6593 6284 6607 6574 6338 5457 SOLVED. Related to masks and grids

This commit is contained in:
Enrique Ponce De Leon
2011-04-05 19:04:32 -04:00
parent ef969ff36f
commit 29d065f9f1
8 changed files with 2106 additions and 1902 deletions

View File

@@ -42,9 +42,6 @@ if( $RBAC->userCanAccess('PM_CASES') != 1 ) {
require_once 'classes/model/AppDelay.php';
G::LoadClass('case');
//Clean NEW_CASE session variable if case isn't new.
if ($_GET['new']!='yes') $_SESSION['NEW_CASE'] = '';
$oCase = new Cases();
//cleaning the case session data
@@ -79,6 +76,8 @@ try {
//loading application data
$aFields = $oCase->loadCase($sAppUid, $iDelIndex);
// g::pr($aFields);
// die;
switch($aFields['APP_STATUS']){
case 'DRAFT':
@@ -168,8 +167,8 @@ try {
unset($_SESSION['bNoShowSteps']);
$aNextStep = $oCase->getNextStep($_SESSION['PROCESS'], $_SESSION['APPLICATION'], $_SESSION['INDEX'], $_SESSION['STEP_POSITION']);
$sPage = $aNextStep['PAGE'];
G::header('location: ' . $sPage);
} else {
//when the case have another user or current user doesnt have rights to this selfservice,