forked from Wavyzz/dolibarr
Merge remote-tracking branch 'origin/3.9' into develop
Conflicts: htdocs/accountancy/admin/productaccount.php htdocs/core/class/html.formprojet.class.php htdocs/core/menus/standard/eldy.lib.php htdocs/filefunc.inc.php htdocs/langs/en_US/accountancy.lang
This commit is contained in:
@@ -3418,14 +3418,14 @@ class Commande extends CommonOrder
|
||||
/**
|
||||
* Is the customer order delayed?
|
||||
*
|
||||
* @return bool
|
||||
* @return bool true if late, false if not
|
||||
*/
|
||||
public function hasDelay()
|
||||
{
|
||||
global $conf;
|
||||
|
||||
if (!($this->statut > Commande::STATUS_DRAFT) && ($this->statut < Commande::STATUS_CLOSED)) {
|
||||
return false;
|
||||
if (! ($this->statut > Commande::STATUS_DRAFT && $this->statut < Commande::STATUS_CLOSED)) {
|
||||
return false; // Never late if not inside this status range
|
||||
}
|
||||
|
||||
$now = dol_now();
|
||||
|
||||
Reference in New Issue
Block a user