FIX #4414 Supplier invoices use FAC_FORCE_DATE_VALIDATION client invoices property

Close #4414
This commit is contained in:
Marcos García de La Fuente 2016-03-02 11:43:55 +01:00
parent a9aab7545e
commit 7d336bd5d4

View File

@ -1577,12 +1577,6 @@ else
if ($objectref == 'PROV')
{
$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);
}
else