Update fournisseur.commande.class.php
This commit is contained in:
parent
4ef4792469
commit
1a21ace02d
@ -3100,7 +3100,7 @@ class CommandeFournisseur extends CommonOrder
|
|||||||
if (empty($this->delivery_date)) {
|
if (empty($this->delivery_date)) {
|
||||||
$text = $langs->trans("OrderDate").' '.dol_print_date($this->date_commande, 'day');
|
$text = $langs->trans("OrderDate").' '.dol_print_date($this->date_commande, 'day');
|
||||||
} else {
|
} else {
|
||||||
$text = $text = $langs->trans("DeliveryDate").' '.dol_print_date($this->delivery_date, 'day');
|
$text = $langs->trans("DeliveryDate").' '.dol_print_date($this->delivery_date, 'day');
|
||||||
}
|
}
|
||||||
$text .= ' '.($conf->commande->fournisseur->warning_delay > 0 ? '+' : '-').' '.round(abs($conf->commande->fournisseur->warning_delay) / 3600 / 24, 1).' '.$langs->trans("days").' < '.$langs->trans("Today");
|
$text .= ' '.($conf->commande->fournisseur->warning_delay > 0 ? '+' : '-').' '.round(abs($conf->commande->fournisseur->warning_delay) / 3600 / 24, 1).' '.$langs->trans("days").' < '.$langs->trans("Today");
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user