PM-31
Refactor output document / 0016759: Output Document pmGrids 0016760: Output Document Variables Se agrego "Grid variables" a las opciones de Type Variable en el pmVariablePicker, que despliega los campos de las grillas que tiene en el proceso
This commit is contained in:
@@ -806,15 +806,21 @@ try {
|
||||
G::LoadClass('xmlfield_InputPM');
|
||||
$proUid = isset($_REQUEST['process']) ? $_REQUEST['process'] : '';
|
||||
$queryText = isset($_REQUEST['queryText']) ? $_REQUEST['queryText'] : '';
|
||||
if ($_REQUEST['type'] == 'system') {
|
||||
$isSystem = true;
|
||||
} else {
|
||||
$isSystem = false;
|
||||
switch($_REQUEST['type']) {
|
||||
case 'system';
|
||||
$typeVars = $_REQUEST['type'];
|
||||
break;
|
||||
case 'process';
|
||||
$typeVars = $_REQUEST['type'];
|
||||
break;
|
||||
case 'grid';
|
||||
$typeVars = $_REQUEST['type'];
|
||||
break;
|
||||
}
|
||||
if ($_REQUEST['type'] == 'all') {
|
||||
$aFields = getDynaformsVars($proUid);
|
||||
} else {
|
||||
$aFields = getDynaformsVars($proUid, $isSystem, isset($_REQUEST['bIncMulSelFields']) ? $_REQUEST['bIncMulSelFields'] : 1);
|
||||
$aFields = getDynaformsVars($proUid, $typeVars, isset($_REQUEST['bIncMulSelFields']) ? $_REQUEST['bIncMulSelFields'] : 1);
|
||||
}
|
||||
$aVariables = array();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user