Fix #17836 : order delay warning in list was wrong, date_commande is deprecated
This commit is contained in:
parent
90be70be58
commit
c3cbd29542
@ -4054,7 +4054,7 @@ class Commande extends CommonOrder
|
|||||||
|
|
||||||
$now = dol_now();
|
$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