* [task#152647] Add the param of frozen for stage gantt.

This commit is contained in:
xieqiyu
2025-11-28 07:26:24 +00:00
parent 29cd1fe50f
commit b8b385e73a
+1
View File
@@ -687,6 +687,7 @@ class programplanTao extends programplanModel
/* Set default progress from database. */
$data->progress = $plan->progress / 100;
$data->taskProgress = $plan->progress . '%';
$data->frozen = $plan->frozen;
if($data->endDate > $data->start_date) $data->duration = helper::diffDate($data->endDate, $data->start_date) + 1;
if(empty($data->start_date) || empty($data->endDate)) $data->duration = 1;