* [task#148826,done,3h] Check last date for left of team.

This commit is contained in:
daitingting
2025-08-27 10:27:13 +08:00
parent b64c2ff2e7
commit 00504db138
4 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -2948,7 +2948,7 @@ class taskModel extends model
if(!empty($currentTeam))
{
$currentTeam->status = $record->left == 0 ? 'done' : 'doing';
$this->taskTao->updateTeamByEffort($effortID, $record, $currentTeam, $task);
$this->taskTao->updateTeamByEffort($effortID, $record, $currentTeam, $task, (string)$lastDate);
$newTask = $this->computeMultipleHours($task, $newTask);
}