|
|
@ -271,7 +271,7 @@ class DashboardBoDController extends Controller |
|
|
|
{ |
|
|
|
{ |
|
|
|
$year = $this->interpolateYear($year); |
|
|
|
$year = $this->interpolateYear($year); |
|
|
|
|
|
|
|
|
|
|
|
$divisions = Divisi::select('id', 'name') |
|
|
|
$divisions = Divisi::select('id', 'name','parent') |
|
|
|
->with('children') |
|
|
|
->with('children') |
|
|
|
->whereNull('parent') |
|
|
|
->whereNull('parent') |
|
|
|
->get(); |
|
|
|
->get(); |
|
|
@ -358,4 +358,4 @@ class DashboardBoDController extends Controller |
|
|
|
'total_manpowers' => User::count() |
|
|
|
'total_manpowers' => User::count() |
|
|
|
], 200); |
|
|
|
], 200); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|