diff options
author | Frédéric Guillot <contact@fredericguillot.com> | 2014-02-22 13:37:06 -0500 |
---|---|---|
committer | Frédéric Guillot <contact@fredericguillot.com> | 2014-02-22 13:37:06 -0500 |
commit | a1923d3d7f9276e859d6fd6bee339f0ea00f6544 (patch) | |
tree | 84caca943de5d0e016455ea2f6896d0b697fdf05 /models/project.php | |
parent | fd28d50597d4f255ba9514e0fc03c8cb67c86f22 (diff) |
Add a page to display completed tasks and add the completion date column for tasks
Diffstat (limited to 'models/project.php')
-rw-r--r-- | models/project.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/project.php b/models/project.php index b0c2b2ca..10d7c572 100644 --- a/models/project.php +++ b/models/project.php @@ -49,6 +49,7 @@ class Project extends Base $project['columns'] = $columns; $project['nb_tasks'] = $taskModel->countByProjectId($project['id']); + $project['nb_inactive_tasks'] = $project['nb_tasks'] - $project['nb_active_tasks']; } $this->db->closeTransaction(); |