|
|
@ -117,13 +117,11 @@ 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(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public function list() |
|
|
|
public function list() |
|
|
|
{ |
|
|
|
{ |
|
|
|