style: remove stat cards from verification logs page

This commit is contained in:
Wahyudin
2026-10-13 15:41:33 +07:00
parent 37db0468fc
commit 97b69e42f1
2 changed files with 1 additions and 49 deletions
@@ -78,24 +78,10 @@ class VerificationLogController extends Controller
});
}
// Data Statistik Ringkas untuk Admin PG
$totalApproved = VehicleActivity::where('validation_status', 'approved')->count();
$totalRejected = VehicleActivity::where('validation_status', 'rejected')->count();
$totalPending = VehicleActivity::where('validation_status', 'pending')->count();
$todayInspections = VehicleActivity::whereDate('recorded_at', Carbon::today())->count();
$activities = $query->paginate(20)->withQueryString();
$gates = Gate::where('is_active', true)->orderBy('name')->get();
$guards = SecurityGuard::orderBy('name')->get();
return view('pg.verification_logs', compact(
'activities',
'gates',
'guards',
'totalApproved',
'totalRejected',
'totalPending',
'todayInspections'
));
return view('pg.verification_logs', compact('activities', 'gates', 'guards'));
}
}