FIX exclude element of the select
This commit is contained in:
parent
6010d9de4b
commit
09dfcc6016
@ -697,7 +697,9 @@ foreach ($listofreferent as $key => $value)
|
|||||||
$urlnew=$value['urlnew'];
|
$urlnew=$value['urlnew'];
|
||||||
$buttonnew=$value['buttonnew'];
|
$buttonnew=$value['buttonnew'];
|
||||||
$testnew=$value['testnew'];
|
$testnew=$value['testnew'];
|
||||||
|
$exclude_select_element=array('payment_various',$value['exclude_select_element']);
|
||||||
|
|
||||||
|
|
||||||
if ($qualified)
|
if ($qualified)
|
||||||
{
|
{
|
||||||
// If we want the project task array to have details of users
|
// If we want the project task array to have details of users
|
||||||
@ -717,7 +719,7 @@ foreach ($listofreferent as $key => $value)
|
|||||||
if (! empty($conf->global->PROJECT_OTHER_THIRDPARTY_ID_TO_ADD_ELEMENTS)) $idtofilterthirdparty.=','.$conf->global->PROJECT_OTHER_THIRDPARTY_ID_TO_ADD_ELEMENTS;
|
if (! empty($conf->global->PROJECT_OTHER_THIRDPARTY_ID_TO_ADD_ELEMENTS)) $idtofilterthirdparty.=','.$conf->global->PROJECT_OTHER_THIRDPARTY_ID_TO_ADD_ELEMENTS;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($conf->global->PROJECT_LINK_ON_OVERWIEW_DISABLED) && $idtofilterthirdparty && !in_array($tablename, array('payment_various')))
|
if (empty($conf->global->PROJECT_LINK_ON_OVERWIEW_DISABLED) && $idtofilterthirdparty && !in_array($tablename,$exclude_select_element))
|
||||||
{
|
{
|
||||||
$selectList=$formproject->select_element($tablename, $idtofilterthirdparty, 'minwidth300');
|
$selectList=$formproject->select_element($tablename, $idtofilterthirdparty, 'minwidth300');
|
||||||
if (! $selectList || ($selectList<0))
|
if (! $selectList || ($selectList<0))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user