2
0
forked from Wavyzz/dolibarr

tooltip order date is date not datetime

from sql table
date_commande date, -- date de la commande
This commit is contained in:
Frédéric FRANCE
2022-03-10 13:52:05 +01:00
committed by GitHub
parent 66f21fc1d0
commit 7291bbf710

View File

@@ -3723,7 +3723,7 @@ class Commande extends CommonOrder
$label .= '<br><b>'.$langs->trans('AmountTTC').':</b> '.price($this->total_ttc, 0, $langs, 0, -1, -1, $conf->currency);
}
if (!empty($this->date)) {
$label .= '<br><b>'.$langs->trans('Date').':</b> '.dol_print_date($this->date, 'dayhour');
$label .= '<br><b>'.$langs->trans('Date').':</b> '.dol_print_date($this->date, 'day');
}
if (!empty($this->delivery_date)) {
$label .= '<br><b>'.$langs->trans('DeliveryDate').':</b> '.dol_print_date($this->delivery_date, 'dayhour');