diff --git a/htdocs/adherents/card_subscriptions.php b/htdocs/adherents/card_subscriptions.php index 92cac53a18f..e13a5bbef61 100644 --- a/htdocs/adherents/card_subscriptions.php +++ b/htdocs/adherents/card_subscriptions.php @@ -852,11 +852,12 @@ if ($rowid) $datefrom=dol_time_plus_duree($object->datefin,1,'d'); } else - { - $datefrom=dol_now(); + { + //$datefrom=dol_now(); + $datefrom=$object->datevalid; } } - $form->select_date($datefrom,'','','','',"cotisation"); + $form->select_date($datefrom,'','','','',"cotisation",1,1); print ""; // Date end subscription