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:
commit
80759541b4
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user