Browse Source

Merge pull request 'update filter' (#27) from Dev-Farhan into staging

Reviewed-on: ibnu/generic-ospro-backend#27
pull/1/head
farhantock 9 months ago
parent
commit
5d6602fdbd
  1. 3
      app/Http/Controllers/DashboardBoDController.php

3
app/Http/Controllers/DashboardBoDController.php

@ -203,12 +203,11 @@ class DashboardBoDController extends Controller
$year = $this->interpolateYear($year);
$divisions = Divisi::whereNull('parent')
->where('company_id', $company_id)
->whereNull('parent')
->get();
$divisions = Divisi::whereNull('parent')->get();
foreach ($divisions as $index => $division) {
$scheduleData = new Collection();
$behindSchedule = $warning = $onSchedule = 0;

Loading…
Cancel
Save