191 |
|
|
192 |
|
|
193 |
function setType(&$form, $maj) { |
function setType(&$form, $maj) { |
194 |
$optionNotif = $this->f->is_option_enabled('option_parametrage_notification_auto_tiers'); |
$optionNotif = $this->f->is_option_enabled('option_module_acteur'); |
195 |
$form->setType('type_habilitation_tiers_consulte','hidden'); |
$form->setType('type_habilitation_tiers_consulte','hidden'); |
196 |
// |
// |
197 |
parent::setType($form, $maj); |
parent::setType($form, $maj); |
393 |
) |
) |
394 |
); |
); |
395 |
// Si l'option de notificaton automatique des tiers est active ajout d'un choix sup |
// Si l'option de notificaton automatique des tiers est active ajout d'un choix sup |
396 |
if ($this->f->is_option_enabled('option_parametrage_notification_auto_tiers') === true) { |
if ($this->f->is_option_enabled('option_module_acteur') === true) { |
397 |
$contenu[0][] = 'notification_automatique'; |
$contenu[0][] = 'notification_automatique'; |
398 |
$contenu[1][] = __("Notification automatique"); |
$contenu[1][] = __("Notification automatique"); |
399 |
} |
} |