Browse Source

add gantt id

pull/3/head
Muhammad Sulaiman Yusuf 2 years ago
parent
commit
cdd50b4d36
  1. 1
      app/Http/Controllers/DashboardBoDController.php

1
app/Http/Controllers/DashboardBoDController.php

@ -463,6 +463,7 @@ class DashboardBoDController extends Controller
/* $project->header = Activity::where('proyek_id', $project->id)->where('version_gantt_id', $lastGantt['last_gantt_id'])->whereNull('parent_id')->first(); */
$project->scurve = $this->getSCurve($project->id);
$project->manPowers = UserToVersionGantt::where('version_gantt_id', $lastGantt['last_gantt_id'])->count();
$project->lastGanttId = $this->getLatestGantt($project->id);
}
return response()->json([

Loading…
Cancel
Save