Fix: Suggested start date of subscription must be validation date.

This commit is contained in:
Laurent Destailleur 2012-12-31 13:39:42 +01:00
parent 6b6f725f99
commit f7a53eebfb

View File

@ -852,11 +852,12 @@ if ($rowid)
$datefrom=dol_time_plus_duree($object->datefin,1,'d'); $datefrom=dol_time_plus_duree($object->datefin,1,'d');
} }
else else
{ {
$datefrom=dol_now(); //$datefrom=dol_now();
$datefrom=$object->datevalid;
} }
} }
$form->select_date($datefrom,'','','','',"cotisation"); $form->select_date($datefrom,'','','','',"cotisation",1,1);
print "</td></tr>"; print "</td></tr>";
// Date end subscription // Date end subscription