Fix: Suggested start date of subscription must be validation date.
This commit is contained in:
parent
6b6f725f99
commit
f7a53eebfb
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user