Browse Source

Merge pull request 'dev-wahyun' (#206) from dev-wahyun into staging

Reviewed-on: ordo/adw-backend#206
pull/3/head
farhantock 1 year ago
parent
commit
e462b321b7
  1. 2
      app/Http/Controllers/DashboardBoDController.php

2
app/Http/Controllers/DashboardBoDController.php

@ -271,7 +271,7 @@ class DashboardBoDController extends Controller
{
$year = $this->interpolateYear($year);
$divisions = Divisi::select('id', 'name','parent')
$divisions = Divisi::select('id', 'name','parent','color')
->with('children')
->whereNull('parent')
->get();

Loading…
Cancel
Save