diff --git a/app/Http/Controllers/VersionGanttController.php b/app/Http/Controllers/VersionGanttController.php index c5fabab..7dde377 100644 --- a/app/Http/Controllers/VersionGanttController.php +++ b/app/Http/Controllers/VersionGanttController.php @@ -117,11 +117,9 @@ class VersionGanttController extends Controller ->where('m_activity.parent_id', null) ->get(); foreach($progress as $item) { - if($item->persentase_progress){ $item->progress = $item->persentase_progress; $item->bobot = $item->bobot_planning; $item->save(); - } } }