Fix #17836 : order delay warning in list was wrong, date_commande is deprecated

This commit is contained in:
Maxime Kohlhaas 2021-06-27 09:04:47 +02:00
parent 90be70be58
commit c3cbd29542

View File

@ -4054,7 +4054,7 @@ class Commande extends CommonOrder
$now = dol_now();
return max($this->date_commande, $this->date_livraison) < ($now - $conf->commande->client->warning_delay);
return max($this->date, $this->date_livraison) < ($now - $conf->commande->client->warning_delay);
}
/**