Browse Source

update hierarchy progress

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

2
app/Http/Controllers/VersionGanttController.php

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

Loading…
Cancel
Save