++ hoursweeky_plannedtowork, endwork_estimate, totalphases , actualphase

This commit is contained in:
Paolo Arena
2019-04-07 21:24:27 +02:00
parent 1856818d3a
commit 7b444bc561
5 changed files with 163 additions and 88 deletions

View File

@@ -88,7 +88,7 @@ router.patch('/:id', authenticate, (req, res) => {
}
let level = 0;
return Todo.calculateTreeTodo(todo.userId, todo.category, true, todo.category, false)
return Todo.calculateTreeTodo(todo.phase, todo.userId, todo.category, true, todo.category, false)
.then(objdatacalc => {
tools.mylogshow(' TODO TO MODIFY: ', todo.descr, todo.expiring_at);