* add vision for todo and tweak todo create to set vision, part of task #47905.
This commit is contained in:
@@ -175,6 +175,7 @@ class todoModel extends model
|
||||
$todo->assignedTo = $this->app->user->account;
|
||||
$todo->assignedBy = $this->app->user->account;
|
||||
$todo->assignedDate = $now;
|
||||
$todo->vision = $todos->vision[$i];
|
||||
|
||||
if(in_array($todo->type, $this->config->todo->moduleList)) $todo->idvalue = isset($todos->{$this->config->todo->objectList[$todo->type]}[$i + 1]) ? $todos->{$this->config->todo->objectList[$todo->type]}[$i + 1] : 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user