diff --git a/htdocs/comm/prospect/fiche.php b/htdocs/comm/prospect/fiche.php index 85ed0afdd1f..8154da85173 100644 --- a/htdocs/comm/prospect/fiche.php +++ b/htdocs/comm/prospect/fiche.php @@ -322,12 +322,12 @@ if ($socid > 0) print '
| '.$langs->trans("ActionsToDo").' | ||||||||||||
| | | '; } else { - print ''.strftime("%Y",$obj->da)." | \n"; - $oldyear = strftime("%Y",$obj->da); + print ''.strftime("%Y",$obj->dp)." | \n"; + $oldyear = strftime("%Y",$obj->dp); } - if ($oldmonth == strftime("%Y%b",$obj->da) ) + if ($oldmonth == strftime("%Y%b",$obj->dp) ) { print '| | '; } else { - print '' .strftime("%b",$obj->da)." | \n"; - $oldmonth = strftime("%Y%b",$obj->da); + print '' .strftime("%b",$obj->dp)." | \n"; + $oldmonth = strftime("%Y%b",$obj->dp); } - print ''.strftime("%d",$obj->da)." | \n"; - print ''.strftime("%H:%M",$obj->da)." | \n"; - if (date("U",$obj->da) < time()) + print ''.strftime("%d",$obj->dp)." | \n"; + print ''.strftime("%H:%M",$obj->dp)." | \n"; + if (date("U",$obj->dp) < time()) { print "".img_warning("Late")." | "; } @@ -387,7 +387,7 @@ if ($socid > 0) } else { - print ''.img_object($langs->trans("ShowAction"),"task"); + print ' | '.img_object($langs->trans("ShowAction"),"task"); $transcode=$langs->trans("Action".$obj->acode); $libelle=($transcode!="Action".$obj->acode?$transcode:$obj->libelle); print $libelle; |