|
|
@ -117,11 +117,9 @@ class VersionGanttController extends Controller |
|
|
|
->where('m_activity.parent_id', null) |
|
|
|
->where('m_activity.parent_id', null) |
|
|
|
->get(); |
|
|
|
->get(); |
|
|
|
foreach($progress as $item) { |
|
|
|
foreach($progress as $item) { |
|
|
|
if($item->persentase_progress){ |
|
|
|
|
|
|
|
$item->progress = $item->persentase_progress; |
|
|
|
$item->progress = $item->persentase_progress; |
|
|
|
$item->bobot = $item->bobot_planning; |
|
|
|
$item->bobot = $item->bobot_planning; |
|
|
|
$item->save(); |
|
|
|
$item->save(); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|