From a1923d3d7f9276e859d6fd6bee339f0ea00f6544 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 22 Feb 2014 13:37:06 -0500 Subject: Add a page to display completed tasks and add the completion date column for tasks --- models/project.php | 1 + 1 file changed, 1 insertion(+) (limited to 'models/project.php') 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(); -- cgit v1.2.3