From 8d33fbae3269afa3446f99896c4469b5fc311ad2 Mon Sep 17 00:00:00 2001 From: wahyu Date: Tue, 19 Dec 2023 11:52:46 +0700 Subject: [PATCH] update hierarchy progress --- app/Http/Controllers/VersionGanttController.php | 2 -- 1 file changed, 2 deletions(-) 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(); - } } }