commit
950d9cb158
1 changed files with 2 additions and 2 deletions
|
|
@ -4120,7 +4120,7 @@ class Commande extends CommonOrder
|
|||
|
||||
$now = dol_now();
|
||||
|
||||
return max($this->date, $this->date_livraison) < ($now - $conf->commande->client->warning_delay);
|
||||
return max($this->date, $this->delivery_date) < ($now - $conf->commande->client->warning_delay);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -4132,7 +4132,7 @@ class Commande extends CommonOrder
|
|||
{
|
||||
global $conf, $langs;
|
||||
|
||||
if (empty($this->date_livraison)) {
|
||||
if (empty($this->delivery_date)) {
|
||||
$text = $langs->trans("OrderDate").' '.dol_print_date($this->date_commande, 'day');
|
||||
} else {
|
||||
$text = $text = $langs->trans("DeliveryDate").' '.dol_print_date($this->date_livraison, 'day');
|
||||
|
|
|
|||
Loading…
Reference in a new issue