Browse Source

update hierarchy progress

pull/1/head
wahyu 11 months ago
parent
commit
8d33fbae32
  1. 2
      app/Http/Controllers/VersionGanttController.php

2
app/Http/Controllers/VersionGanttController.php

@ -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();
}
} }
} }

Loading…
Cancel
Save