BUG 9388 Case nr. and Title configurables para que pueda o no aparecer...SOLVED
- En los dynaforms, en la parte de arriba se despliega el Case # y el Title:. Esta linea o conjunto de datos deberia tener algun tipo de identificacion pues algunos proyectos o no lo utilizan o no sirve de mucha referencia. Se deberia anadir un identificador para que se pueda controlar si es pertinente que se despliegue en los formularios o no. - Adding option for active/deactive title and case number when run case.
This commit is contained in:
@@ -41,6 +41,15 @@
|
||||
G::LoadClass('case');
|
||||
$oCase = new Cases();
|
||||
$aFields = $oCase->loadCase($_SESSION['APPLICATION']);
|
||||
|
||||
$idProcess = $_SESSION['PROCESS'];
|
||||
$oProcess = new Process();
|
||||
$aProcessFieds = $oProcess->load($idProcess);
|
||||
$noShowTitle = 0;
|
||||
if(isset($aProcessFieds['PRO_SHOW_MESSAGE'])) {
|
||||
$noShowTitle = $aProcessFieds['PRO_SHOW_MESSAGE'];
|
||||
}
|
||||
|
||||
if (isset($aFields['TITLE'])) {
|
||||
$aFields['APP_TITLE'] = $aFields['TITLE'];
|
||||
}
|
||||
@@ -51,6 +60,8 @@
|
||||
$aFields['TITLE'] = G::LoadTranslation('ID_TITLE');
|
||||
|
||||
$G_PUBLISH = new Publisher();
|
||||
$G_PUBLISH->AddContent('smarty', 'cases/cases_title', '', '', $aFields);
|
||||
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::RenderPage('publish');
|
||||
|
||||
Reference in New Issue
Block a user