Allow contact definition on additionnal modules
If additionnal module use contactelement feature, the module is referenced on element list on contact type
This commit is contained in:
parent
24f7100562
commit
b4a9a0cafb
@ -464,6 +464,9 @@ if ($id == 11)
|
|||||||
'fichinter' => $langs->trans('InterventionCard')
|
'fichinter' => $langs->trans('InterventionCard')
|
||||||
);
|
);
|
||||||
if (! empty($conf->global->MAIN_SUPPORT_SHARED_CONTACT_BETWEEN_THIRDPARTIES)) $elementList["societe"] = $langs->trans('ThirdParty');
|
if (! empty($conf->global->MAIN_SUPPORT_SHARED_CONTACT_BETWEEN_THIRDPARTIES)) $elementList["societe"] = $langs->trans('ThirdParty');
|
||||||
|
|
||||||
|
complete_elementList_with_modules($elementList);
|
||||||
|
|
||||||
asort($elementList);
|
asort($elementList);
|
||||||
$sourceList = array(
|
$sourceList = array(
|
||||||
'internal' => $langs->trans('Internal'),
|
'internal' => $langs->trans('Internal'),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user