Skip to content
Snippets Groups Projects
Commit 648bf73b authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: [ bug #1179 ] Wrong warnings on commande/liste.php / delivery date

should be checked

Conflicts:
	htdocs/commande/liste.php
parent 8cd538cc
No related branches found
No related tags found
No related merge requests found
......@@ -316,7 +316,8 @@ if ($resql)
print '</td>';
print '<td width="20" class="nobordernopadding nowrap">';
if (($objp->fk_statut > 0) && ($objp->fk_statut < 3) && $db->jdate($objp->date_valid) < ($now - $conf->commande->client->warning_delay)) print img_picto($langs->trans("Late"),"warning");
if (($objp->fk_statut > 0) && ($objp->fk_statut < 3) && max($db->jdate($objp->date_valid),$db->jdate($objp->date_livraison)) < ($now - $conf->commande->client->warning_delay))
print img_picto($langs->trans("Late"),"warning");
print '</td>';
print '<td width="16" align="right" class="nobordernopadding hideonsmartphone">';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment