PM-1165 "Se agrega funcion doGetSteps, para obtener los pasos evaluados"
This commit is contained in:
@@ -1968,6 +1968,15 @@ class Cases
|
||||
$oApplication = new \Applications();
|
||||
$aField = $oApplication->getSteps($app_uid, $del_index, $tas_uid, $pro_uid);
|
||||
|
||||
return $aField;
|
||||
foreach ($aField as $fields) {
|
||||
if ($fields['type'] == 'DYNAFORM') {
|
||||
$oDynaform = \DynaformPeer::retrieveByPK($fields['id']);
|
||||
$dynaform_version = $oDynaform->getDynVersion();
|
||||
$aFieldConsolidate[] = array_merge($fields, array("version" => $dynaform_version));
|
||||
} else {
|
||||
$aFieldConsolidate[] = $fields;
|
||||
}
|
||||
}
|
||||
return $aFieldConsolidate;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user