* [task#133967,done,2h] modify delay label.

This commit is contained in:
liumengyi
2024-12-04 09:53:51 +08:00
committed by 田淑杰
parent bc86d4dbe2
commit 51cfdd3623
10 changed files with 17 additions and 16 deletions
+2 -2
View File
@@ -282,7 +282,7 @@ class programZen extends program
{
foreach($projectGroup[$product->id] as $project)
{
if(helper::diffDate($today, $project->end) > 0) $project->delay = 1;
if(helper::diffDate($today, $project->end) > 0) $project->delay = helper::diffDate($today, $project->end);
if($project->status == 'wait')
{
$product->waitingProjects[$project->id] = $project;
@@ -293,7 +293,7 @@ class programZen extends program
if(isset($doingExecutions[$project->id]))
{
$doingExecution = $doingExecutions[$project->id];
if(helper::diffDate($today, $doingExecution->end) > 0) $doingExecution->delay = 1;
if(helper::diffDate($today, $doingExecution->end) > 0) $doingExecution->delay = helper::diffDate($today, $doingExecution->end);
$product->doingExecutions[$doingExecution->id] = $doingExecution;
}
}