* adjust for delete estimate for multi task.

This commit is contained in:
wangyidong
2022-08-25 22:34:39 +08:00
parent d59db04332
commit d53b19e3a9
2 changed files with 42 additions and 11 deletions
+1
View File
@@ -6,6 +6,7 @@ $sortDisabled = false;
$memberStatus = $member->status;
if($memberStatus == 'done') $memberDisabled = true;
if($memberStatus != 'wait' and $task->mode == 'linear') $sortDisabled = true;
if($memberStatus == 'done' and $task->mode == 'multi') $sortDisabled = true;
if($task->mode == 'linear' and strpos('|closed|cancel|pause|', $task->status) !== false and $app->rawMethod != 'activate')
{
$memberStatus = $task->status;