diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php index 0f83e21ea93..05d87138630 100644 --- a/htdocs/fichinter/card.php +++ b/htdocs/fichinter/card.php @@ -1139,7 +1139,14 @@ if ($action == 'create') { // Confirm done if ($action == 'classifydone') { - $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?id='.$object->id, $langs->trans('CloseIntervention'), $langs->trans('ConfirmCloseIntervention'), 'confirm_done', '', 0, 1); + $text = $langs->trans('ConfirmCloseIntervention'); + if (isModEnabled('notification')) { + require_once DOL_DOCUMENT_ROOT.'/core/class/notify.class.php'; + $notify = new Notify($db); + $text .= '
'; + $text .= $notify->confirmMessage('FICHINTER_CLOSE', $object->socid, $object); + } + $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?id='.$object->id, $langs->trans('CloseIntervention'), $text, 'confirm_done', '', 0, 1); } // Confirm back to draft