Correccion de CONSOLIDATED

This commit is contained in:
Brayan Pereyra
2015-03-26 15:03:24 -04:00
parent c2d32d4f59
commit d647de4d69
3 changed files with 15 additions and 5 deletions

View File

@@ -35,6 +35,9 @@ class pmDynaform
public function getDynaform() public function getDynaform()
{ {
if (!isset($this->fields["CURRENT_DYNAFORM"])) {
return;
}
if ($this->record != null) { if ($this->record != null) {
return $this->record; return $this->record;
} }
@@ -56,6 +59,9 @@ class pmDynaform
public function getCredentials() public function getCredentials()
{ {
if (!isset($_SESSION['USER_LOGGED'])) {
return;
}
if ($this->credentials != null) { if ($this->credentials != null) {
return $this->credentials; return $this->credentials;
} }
@@ -430,3 +436,4 @@ class pmDynaform
} }
} }

View File

@@ -30,7 +30,10 @@ $G_TMP_MENU->AddIdRawOption('CASES_START_CASE', 'casesStartPage?action=startCase
G::LoadTranslation('ID_NEW_CASE'), ''); G::LoadTranslation('ID_NEW_CASE'), '');
/*----------------------------------********---------------------------------*/ /*----------------------------------********---------------------------------*/
$G_TMP_MENU->AddIdRawOption('CASE_CONSOLIDATED_1', 'casesConsolidatedListExtJs?action=consolidated', 'Batch Routing', ''); $licensedFeatures = & PMLicensedFeatures::getSingleton();
if ($licensedFeatures->verifyfeature('7TTeDBQeWRoZTZKYjh4eFpYUlRDUUEyVERPU3FxellWank=')) {
$G_TMP_MENU->AddIdRawOption('CONSOLIDATED_CASES', 'casesConsolidatedListExtJs?action=consolidated', 'Batch Routing', '');
}
/*----------------------------------********---------------------------------*/ /*----------------------------------********---------------------------------*/
$G_TMP_MENU->AddIdRawOption('CASES_INBOX', 'casesListExtJs?action=todo', G::LoadTranslation('ID_INBOX'), $G_TMP_MENU->AddIdRawOption('CASES_INBOX', 'casesListExtJs?action=todo', G::LoadTranslation('ID_INBOX'),

View File

@@ -438,12 +438,12 @@ button.x-btn-text:focus,
background-image: url(/skins/neoclassic/images/icons_silk/sprites.png) !important; background-image: url(/skins/neoclassic/images/icons_silk/sprites.png) !important;
background-position: 0 -8497px !important; background-position: 0 -8497px !important;
} }
.ICON_CONSOLIDATED_CASES { .ICON_CONSOLIDATED_CASES{
/*ss_consolidated_cases*/ /*ss_consolidated_cases*/
background-image:url(/images/icons_silk/sprites.png) !important;
background-image: url(/skins/neoclassic/images/icons_silk/sprites.png) !important; background-position:0 -18500px !important
background-position: 0 -18500px !important;
} }
.ICON_CASES_DELETE { .ICON_CASES_DELETE {
background-image: url(/skins/neoclassic/images/delete-16x16.gif) !important; background-image: url(/skins/neoclassic/images/delete-16x16.gif) !important;
} }