Better wulity code for Task 532
This commit is contained in:
parent
be525ad0e8
commit
721e074072
@ -558,12 +558,8 @@ function projectLinesb(&$inc, $parent, $lines, &$level, &$projectsrole, &$tasksr
|
|||||||
|
|
||||||
// Planned Workload
|
// Planned Workload
|
||||||
print '<td align="center">';
|
print '<td align="center">';
|
||||||
if (!empty($lines[$i]->planned_workload)) {
|
if ($lines[$i]->planned_workload) print convertSecondToTime($lines[$i]->planned_workload,'all');
|
||||||
$planned_workload_hours = intval($lines[$i]->planned_workload / 3600);
|
else print '--:--';
|
||||||
}else {
|
|
||||||
$planned_workload_hours = 0;
|
|
||||||
}
|
|
||||||
print $planned_workload_hours.' '.$langs->trans('Hours');
|
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
// Progress
|
// Progress
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user