Merge pull request #7160 from hguibourgdev/patch-4

Update card.php
This commit is contained in:
Laurent Destailleur 2017-07-18 14:36:12 +02:00 committed by GitHub
commit 9ea30c427e

View File

@ -2084,7 +2084,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");
}
}