:
prefs['use_effort_tracking']) {
$total_estimated = 0;
$actual_effort = 0;
foreach($milestone['open_tasks'] as $task) {
$total_estimated += $task['estimated_effort'];
$effort = new effort($task['task_id'],0);
$effort->populateDetails();
foreach($effort->details as $details) {
$actual_effort += $details['effort'];
}
$effort = null;
}
// }
?>
perms('view_estimated_effort')) {
echo Filters::noXSS(L('opentasks')); ?> - : prefs['hours_per_manday'], $proj->prefs['estimated_effort_format']);
} ?>
perms('view_current_effort_done')) {
echo Filters::noXSS(L('opentasks')); ?> - : prefs['hours_per_manday'], $proj->prefs['current_effort_done_format']);
} ?>