HOR-4483
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
|
||||
use Cases as ClassesCases;
|
||||
use ProcessMaker\Util\DateTime;
|
||||
|
||||
$actionAjax = isset($_REQUEST['actionAjax']) ? $_REQUEST['actionAjax'] : null;
|
||||
@@ -7,7 +8,10 @@ $actionAjax = isset($_REQUEST['actionAjax']) ? $_REQUEST['actionAjax'] : null;
|
||||
switch ($actionAjax) {
|
||||
case 'historyGridList_JXP':
|
||||
global $G_PUBLISH;
|
||||
$criteria = Cases::getTransferHistoryCriteria($_SESSION['APPLICATION']);
|
||||
$appUid = $_SESSION['APPLICATION'];
|
||||
$case = new ClassesCases();
|
||||
$fields = $case->loadCase($appUid);
|
||||
$criteria = Cases::getTransferHistoryCriteria($fields['APP_NUMBER']);
|
||||
|
||||
$dataSet = GulliverBasePeer::doSelectRs($criteria);
|
||||
$totalCount = $dataSet->getRecordCount();
|
||||
|
||||
@@ -60,7 +60,7 @@ $G_PUBLISH = new Publisher();
|
||||
if ($noShowTitle == 0) {
|
||||
$G_PUBLISH->AddContent( 'smarty', 'cases/cases_title', '', '', $aFields );
|
||||
}
|
||||
$G_PUBLISH->AddContent( 'propeltable', 'paged-table', 'tracker/tracker_TransferHistory', Cases::getTransferHistoryCriteria( $_SESSION['APPLICATION'] ), array () );
|
||||
$G_PUBLISH->AddContent('propeltable', 'paged-table', 'tracker/tracker_TransferHistory', Cases::getTransferHistoryCriteria($aFields['APP_NUMBER']), []);
|
||||
|
||||
$bpmn = new ProcessMaker\Project\Bpmn();
|
||||
$flagIsBpmn = ($bpmn->exists($_SESSION["PROCESS"]))? true : false;
|
||||
|
||||
Reference in New Issue
Block a user