FIX #4414 Supplier invoices use FAC_FORCE_DATE_VALIDATION client invoices property
Close #4414
This commit is contained in:
parent
a9aab7545e
commit
7d336bd5d4
@ -1577,12 +1577,6 @@ else
|
|||||||
if ($objectref == 'PROV')
|
if ($objectref == 'PROV')
|
||||||
{
|
{
|
||||||
$savdate=$object->date;
|
$savdate=$object->date;
|
||||||
if (! empty($conf->global->FAC_FORCE_DATE_VALIDATION))
|
|
||||||
{
|
|
||||||
$object->date=dol_now();
|
|
||||||
//TODO: Possibly will have to control payment information into suppliers
|
|
||||||
//$object->date_lim_reglement=$object->calculate_date_lim_reglement();
|
|
||||||
}
|
|
||||||
$numref = $object->getNextNumRef($societe);
|
$numref = $object->getNextNumRef($societe);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user