|
|
@ -304,6 +304,7 @@ class DashboardBoDController extends Controller |
|
|
|
$year = $this->interpolateYear($year); |
|
|
|
$year = $this->interpolateYear($year); |
|
|
|
$projects = Project::where('mulai_proyek', 'like', $year) |
|
|
|
$projects = Project::where('mulai_proyek', 'like', $year) |
|
|
|
/* ->orWhere('akhir_proyek', 'like', $year) */ |
|
|
|
/* ->orWhere('akhir_proyek', 'like', $year) */ |
|
|
|
|
|
|
|
->orderBy('id', 'desc') |
|
|
|
->get(); |
|
|
|
->get(); |
|
|
|
foreach($projects as $project){ |
|
|
|
foreach($projects as $project){ |
|
|
|
$lastGantt = MasterFunctionsHelper::getLatestGantt($project->id); |
|
|
|
$lastGantt = MasterFunctionsHelper::getLatestGantt($project->id); |
|
|
|