Bug 6012 Correction, extender to PMTables and Roles Migration Modules.
Bug SOLVED
This commit is contained in:
@@ -23,52 +23,7 @@
|
|||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
//if (($RBAC_Response=$RBAC->userCanAccess("PM_LOGIN"))!=1) return $RBAC_Response;
|
|
||||||
//global $RBAC;
|
|
||||||
//
|
|
||||||
//if (!class_exists('LogCasesSchedulerPeer')){
|
|
||||||
//require ("classes/model/LogCasesSchedulerPeer.php");
|
|
||||||
//}
|
|
||||||
//
|
|
||||||
//$oLogCaseScheduler = new LogCasesScheduler();
|
|
||||||
//$aRows = $oLogCaseScheduler->getAll();
|
|
||||||
//
|
|
||||||
//$fieldNames = Array(
|
|
||||||
// 'LOG_CASE_UID' => 'char',
|
|
||||||
// 'PRO_UID' => 'char',
|
|
||||||
// 'TAS_UID' => 'char',
|
|
||||||
// 'USR_NAME' => 'char',
|
|
||||||
// 'EXEC_DATE' => 'char',
|
|
||||||
// 'EXEC_HOUR' => 'char',
|
|
||||||
// 'RESULT' => 'char',
|
|
||||||
// 'SCH_UID' => 'char',
|
|
||||||
// 'WS_CREATE_CASE_STATUS' => 'char',
|
|
||||||
// 'WS_ROUTE_CASE_STATUS' => 'char',
|
|
||||||
//);
|
|
||||||
//
|
|
||||||
//$aRows = array_merge(Array($fieldNames), $aRows);
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//$_DBArray['log_cases_scheduler'] = $aRows;
|
|
||||||
//$_SESSION['_DBArray'] = $_DBArray;
|
|
||||||
//
|
|
||||||
//$oCriteria = new Criteria('dbarray');
|
|
||||||
//$oCriteria->setDBArrayTable('log_cases_scheduler');
|
|
||||||
////krumo($oCriteria);
|
|
||||||
////$G_MAIN_MENU = 'processmaker';
|
|
||||||
////$G_SUB_MENU = 'cases';
|
|
||||||
////
|
|
||||||
////$G_ID_MENU_SELECTED = 'CASES';
|
|
||||||
////$G_ID_SUB_MENU_SELECTED = 'CASES_SCHEDULER_LOG';
|
|
||||||
//
|
|
||||||
//$G_PUBLISH = new Publisher;
|
|
||||||
//$G_PUBLISH->ROWS_PER_PAGE = 10;
|
|
||||||
//$G_PUBLISH->AddContent('propeltable', 'paged-table', 'cases/cases_Scheduler_Log', $oCriteria);
|
|
||||||
//$G_PUBLISH->oPropelTable->rowsPerPage = 10;
|
|
||||||
//G::RenderPage('publishBlank', 'blank');
|
|
||||||
|
|
||||||
if (($RBAC_Response=$RBAC->userCanAccess("PM_LOGIN"))!=1) return $RBAC_Response;
|
if (($RBAC_Response=$RBAC->userCanAccess("PM_LOGIN"))!=1) return $RBAC_Response;
|
||||||
global $RBAC;
|
|
||||||
|
|
||||||
$G_PUBLISH = new Publisher;
|
$G_PUBLISH = new Publisher;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* data_additionalTablesList.php
|
* data_rolesList.php
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ Ext.onReady(function(){
|
|||||||
sm: smodel,
|
sm: smodel,
|
||||||
tbar:[newButton,'-', editButton, deleteButton,'-', dataButton,{xtype: 'tbfill'} , importButton, exportButton],
|
tbar:[newButton,'-', editButton, deleteButton,'-', dataButton,{xtype: 'tbfill'} , importButton, exportButton],
|
||||||
listeners: {
|
listeners: {
|
||||||
rowdblclick: PMTableData,
|
rowdblclick: PMTableData
|
||||||
},
|
},
|
||||||
view: new Ext.grid.GroupingView({
|
view: new Ext.grid.GroupingView({
|
||||||
forceFit:true,
|
forceFit:true,
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ Ext.onReady(function(){
|
|||||||
cm: cmodel,
|
cm: cmodel,
|
||||||
bbar: [{xtype: 'tbfill'}, bbarpaging],
|
bbar: [{xtype: 'tbfill'}, bbarpaging],
|
||||||
listeners: {
|
listeners: {
|
||||||
rowdblclick: ShowSelectedLog,
|
rowdblclick: ShowSelectedLog
|
||||||
},
|
},
|
||||||
view: new Ext.grid.GroupingView({
|
view: new Ext.grid.GroupingView({
|
||||||
forceFit:true,
|
forceFit:true,
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ Ext.onReady(function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
contextMenu = new Ext.menu.Menu({
|
contextMenu = new Ext.menu.Menu({
|
||||||
items: [editButton, deleteButton,'-',usersButton, permissionsButton],
|
items: [editButton, deleteButton,'-',usersButton, permissionsButton]
|
||||||
});
|
});
|
||||||
|
|
||||||
searchText = new Ext.form.TextField ({
|
searchText = new Ext.form.TextField ({
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ var backButton;
|
|||||||
var sw_func_permissions;
|
var sw_func_permissions;
|
||||||
var sw_func_users;
|
var sw_func_users;
|
||||||
|
|
||||||
const pm_admin = '00000000000000000000000000000002';
|
var pm_admin = '00000000000000000000000000000002';
|
||||||
|
|
||||||
Ext.onReady(function(){
|
Ext.onReady(function(){
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user