BUG 9388 Case nr. and Title configurables para que pueda o no aparecer...SOLVED
- Adjustment by standarized code.
This commit is contained in:
@@ -37,8 +37,7 @@ try {
|
||||
if (isset($_SESSION['APPLICATION'])) {
|
||||
$Fields = $oCase->loadCase($_SESSION['APPLICATION']);
|
||||
$Fields['APP_DATA'] = array_merge($Fields['APP_DATA'], G::getSystemConstants());
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$Fields['APP_DATA'] = Array();
|
||||
}
|
||||
|
||||
@@ -70,20 +69,27 @@ try {
|
||||
|
||||
if (isset($Fields['TITLE']) && strlen($Fields['TITLE']) > 0) {
|
||||
$array['TITLE'] = G::LoadTranslation('ID_TITLE');
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$array['TITLE'] = '';
|
||||
}
|
||||
$array['PROCESS'] = G::LoadTranslation('ID_PROCESS');
|
||||
$array['DATELABEL'] = G::LoadTranslation('DATE_LABEL');
|
||||
|
||||
$aDyn['DYN_UID'] = (isset($_SESSION['DYN_UID_PRINT']) && $_SESSION['DYN_UID_PRINT']!='')?$_SESSION['DYN_UID_PRINT']:$aDyn['DYN_UID'];
|
||||
$aDyn['DYN_UID'] = (isset($_SESSION['DYN_UID_PRINT']) && $_SESSION['DYN_UID_PRINT'] != '')
|
||||
? $_SESSION['DYN_UID_PRINT']
|
||||
: $aDyn['DYN_UID'];
|
||||
if ($noShowTitle == 0) {
|
||||
$G_PUBLISH->AddContent('smarty', 'cases/cases_PrintViewTitle', '', '', $array);
|
||||
}
|
||||
$G_PUBLISH->AddContent('dynaform', 'xmlform', $aDyn['PRO_UID']. '/' . $aDyn['DYN_UID'], '', $Fields['APP_DATA'], '', '', 'view');
|
||||
$G_PUBLISH->AddContent('dynaform',
|
||||
'xmlform',
|
||||
$aDyn['PRO_UID'] . '/' . $aDyn['DYN_UID'],
|
||||
'',
|
||||
$Fields['APP_DATA'],
|
||||
'',
|
||||
'',
|
||||
'view');
|
||||
G::RenderPage('publish', 'blank');
|
||||
|
||||
} catch (Exception $oException) {
|
||||
die($oException->getMessage());
|
||||
}
|
||||
@@ -118,3 +124,4 @@ try {
|
||||
window.print();
|
||||
} catch(e){}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* tracker_ViewMap.php
|
||||
*
|
||||
@@ -22,15 +23,13 @@
|
||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* dynaforms & documents for Case Tracker
|
||||
*
|
||||
* @author Everth S. Berrios Morales <everth@colosa.com>
|
||||
*
|
||||
*/
|
||||
if (!isset($_SESSION['PROCESS']))
|
||||
{
|
||||
if (!isset($_SESSION['PROCESS'])) {
|
||||
G::header('location: login');
|
||||
}
|
||||
$G_MAIN_MENU = 'caseTracker';
|
||||
@@ -64,9 +63,11 @@
|
||||
if ($noShowTitle == 0) {
|
||||
$G_PUBLISH->AddContent('smarty', 'cases/cases_title', '', '', $aFields);
|
||||
}
|
||||
$G_PUBLISH->AddContent('propeltable', 'paged-table', 'tracker/tracker_DynaDocs', $oProcessMap->getCaseTrackerObjectsCriteria($_SESSION['PROCESS']), array('VIEW'=>G::LoadTranslation('ID_VIEW')));
|
||||
|
||||
|
||||
|
||||
$G_PUBLISH->AddContent( 'propeltable',
|
||||
'paged-table',
|
||||
'tracker/tracker_DynaDocs',
|
||||
$oProcessMap->getCaseTrackerObjectsCriteria($_SESSION['PROCESS']),
|
||||
array('VIEW' => G::LoadTranslation('ID_VIEW')));
|
||||
|
||||
G::RenderPage('publish');
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* tracker_ViewMap.php
|
||||
*
|
||||
@@ -22,15 +23,13 @@
|
||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* Hystory case for Case Tracker
|
||||
*
|
||||
* @author Everth S. Berrios Morales <everth@colosa.com>
|
||||
*
|
||||
*/
|
||||
if (!isset($_SESSION['PROCESS']))
|
||||
{
|
||||
if (!isset($_SESSION['PROCESS'])) {
|
||||
G::header('location: login');
|
||||
}
|
||||
|
||||
@@ -62,5 +61,10 @@
|
||||
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($_SESSION['APPLICATION']),
|
||||
array());
|
||||
G::RenderPage('publish');
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* tracker_Messages.php
|
||||
*
|
||||
@@ -22,15 +23,13 @@
|
||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* History messages for Case Tracker
|
||||
*
|
||||
* @author Everth S. Berrios Morales <everth@colosa.com>
|
||||
*
|
||||
*/
|
||||
if (!isset($_SESSION['PROCESS']))
|
||||
{
|
||||
if (!isset($_SESSION['PROCESS'])) {
|
||||
G::header('location: login');
|
||||
}
|
||||
$G_MAIN_MENU = 'caseTracker';
|
||||
@@ -63,5 +62,9 @@
|
||||
if ($noShowTitle == 0) {
|
||||
$G_PUBLISH->AddContent('smarty', 'cases/cases_title', '', '', $aFields);
|
||||
}
|
||||
$G_PUBLISH->AddContent('propeltable', 'paged-table', 'tracker/tracker_Messages', Cases::getHistoryMessagesTracker($_SESSION['APPLICATION']), array('VIEW'=>G::LoadTranslation('ID_VIEW')));
|
||||
$G_PUBLISH->AddContent( 'propeltable',
|
||||
'paged-table',
|
||||
'tracker/tracker_Messages',
|
||||
Cases::getHistoryMessagesTracker($_SESSION['APPLICATION']),
|
||||
array('VIEW' => G::LoadTranslation('ID_VIEW')));
|
||||
G::RenderPage('publish');
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* tracker_ViewMap.php
|
||||
*
|
||||
@@ -22,7 +23,6 @@
|
||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* Map for Case Tracker
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user