Merge pull request #18038 from atm-maxime/fix_order_delay_warning

Fix #17836 : order delay warning in list was wrong
This commit is contained in:
Laurent Destailleur 2021-06-29 15:38:14 +02:00 committed by GitHub
commit 80759541b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}
/**