diff --git a/htdocs/comm/action/card.php b/htdocs/comm/action/card.php
index eb723013f81..7090438c7ce 100644
--- a/htdocs/comm/action/card.php
+++ b/htdocs/comm/action/card.php
@@ -64,6 +64,10 @@ $apmin = GETPOST('apmin');
$p2hour = GETPOST('p2hour');
$p2min = GETPOST('p2min');
+$offsetvalue = GETPOST('offsetvalue');
+$offsetunit = GETPOST('offsetunittype_duration');
+$typeremind = GETPOST('typeremind');
+
$datep = dol_mktime($fulldayevent ? '00' : $aphour, $fulldayevent ? '00' : $apmin, 0, GETPOST("apmonth"), GETPOST("apday"), GETPOST("apyear"));
$datef = dol_mktime($fulldayevent ? '23' : $p2hour, $fulldayevent ? '59' : $p2min, $fulldayevent ? '59' : '0', GETPOST("p2month"), GETPOST("p2day"), GETPOST("p2year"));
@@ -1106,7 +1110,28 @@ if ($action == 'create')
print '';
- dol_fiche_end();
+ print '
| '.$langs->trans("Reminder").' | '; + print ''; + print ' | ||
| '.$langs->trans("ReminderType").' | '; + print $form->select_type_duration('offsetunit'); + print ' | ||
| '.$langs->trans("TypeRemind").' | '; + print $form->selectarray('typeremind', array('mail'=>$langs->trans('EMail'), 'push'=>$langs->trans('OSNotif'))); + print ' | ||