PM-2938: Show only 1 cases menu [Batch Routing]
This commit is contained in:
@@ -32,7 +32,16 @@ G::LoadTranslation('ID_NEW_CASE'), '');
|
||||
/*----------------------------------********---------------------------------*/
|
||||
$licensedFeatures = & PMLicensedFeatures::getSingleton();
|
||||
if ($licensedFeatures->verifyfeature('7TTeDBQeWRoZTZKYjh4eFpYUlRDUUEyVERPU3FxellWank=')) {
|
||||
$G_TMP_MENU->AddIdRawOption('CONSOLIDATED_CASES', 'casesConsolidatedListExtJs?action=consolidated', 'Batch Routing', '');
|
||||
//If plugin is active doesnot show the menu in Cases
|
||||
$pluginRegistry = & PMPluginRegistry::getSingleton ();
|
||||
$pluginDetail = $pluginRegistry->getPluginDetails("pmConsolidatedCL.php");
|
||||
$pluginEnabled = 0;
|
||||
if ($pluginDetail && $pluginDetail->enabled) {
|
||||
$pluginEnabled = 1;
|
||||
}
|
||||
if($pluginEnabled == 0){
|
||||
$G_TMP_MENU->AddIdRawOption('CONSOLIDATED_CASES', 'casesConsolidatedListExtJs?action=consolidated', 'Batch Routing', '');
|
||||
}
|
||||
}
|
||||
/*----------------------------------********---------------------------------*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user