php V8 warning
This commit is contained in:
parent
49315de03a
commit
5ddd0c20ae
@ -2079,6 +2079,10 @@ if ($action == 'create') {
|
||||
|
||||
// Date
|
||||
if ($object->methode_commande_id > 0) {
|
||||
$usehourmin = 0;
|
||||
if (!empty($conf->global->SUPPLIER_ORDER_USE_HOUR_FOR_DELIVERY_DATE)) {
|
||||
$usehourmin = 1;
|
||||
}
|
||||
print '<tr><td class="titlefield">'.$langs->trans("Date").'</td><td>';
|
||||
print $object->date_commande ? dol_print_date($object->date_commande, $usehourmin ? 'dayhour' : 'day') : '';
|
||||
if ($object->hasDelay() && !empty($object->date_delivery) && !empty($object->date_commande)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user