diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php index 63ccd938d02..83e2ccc5b29 100644 --- a/htdocs/comm/index.php +++ b/htdocs/comm/index.php @@ -266,14 +266,14 @@ print '
| '.$langs->trans("ActionsToDo").' | |||||||||
| '.$langs->trans("ActionsToDo").' | |||||||||
| | | '; + } + else + { + print ''.strftime("%Y",$obj->da)." | \n"; + $oldyear = strftime("%Y",$obj->da); + } + + if ($oldmonth == strftime("%Y%b",$obj->da) ) + { + print '| | '; + } + else + { + print '' .strftime("%b",$obj->da)." | \n"; + $oldmonth = strftime("%Y%b",$obj->da); + } + + print ''.strftime("%d",$obj->da)." | \n"; + if (date("U",$obj->da) < time()) + { + print "".img_warning("Late")." | "; + } print "id\">".img_object($langs->trans("ShowTask"),"task"); $transcode=$langs->trans("Action".$obj->code); $libelle=($transcode!="Action".$obj->code?$transcode:$obj->libelle); print $libelle; print ' | '; - - print ''. dolibarr_print_date($obj->da); - if (date("U",$obj->da) < time()) - { - print img_warning("Late"); - } - print " | "; + print "$obj->label | "; print ''.img_object($langs->trans("ShowCustomer"),"company").' '.$obj->sname.' | '; $i++;