Update fournisseur.commande.class.php

This commit is contained in:
Laurent Destailleur 2020-11-18 12:42:33 +01:00 committed by GitHub
parent 4ef4792469
commit 1a21ace02d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3100,7 +3100,7 @@ class CommandeFournisseur extends CommonOrder
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->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");