Show closed tasks on the Gantt chart and fix rounding for task progress

This commit is contained in:
Frederic Guillot
2015-08-20 21:26:42 -04:00
parent 5b888a2345
commit 1484b1c39c
3 changed files with 31 additions and 2 deletions

View File

@@ -195,6 +195,6 @@ class Task extends Base
$position++;
}
return (int) ($position * 100) / count($columns);
return round(($position * 100) / count($columns), 1);
}
}