Merge pull request #7161 from hguibourgdev/patch-4

Patch 4
This commit is contained in:
Laurent Destailleur 2017-07-18 14:38:34 +02:00 committed by GitHub
commit b2c00ac463

View File

@ -2039,7 +2039,7 @@ if ($action == 'create' && $user->rights->commande->creer)
print '</form>';
} else {
print $object->date ? dol_print_date($object->date, 'day') : '&nbsp;';
if ($object->hasDelay() && empty($object->date_livraison)) {
if ($object->hasDelay() && ! empty($object->date_livraison)) {
print ' '.img_picto($langs->trans("Late").' : '.$object->showDelay(), "warning");
}
}