**Description**

A clear and concise description of what the reported bug is:

- ChurchCRM version: 5.7.0
- PHP version the server running: 8.2.16
- DB Server and Version the server is running: 10.3.39-MariaDB-cll-lve

**Steps To Reproduce**

Steps to reproduce the behavior:

1. Go to `/v2/dashboard`
2. Click on Admin > Edit General Settings
3. Click on Enabled Features (`/SystemSettings.php#EnabledFeatures`)
4. Set bEnabledEvents to False
5. Go back to `/v2/dashboard` & the Events stat box is still there

**Expected behavior**

Events stat box should be hidden if Events are disabled.

**Screenshots and/or logs**

📋 Relevant screenshots:

![Screenshot 2024-04-19 at 21-49-19](https://github.com/ChurchCRM/CRM/assets/201834/7a54ad91-bb5b-4459-a02d-2f8117fddca2)


Bug: There's a missing if for the admin dashboard
This is a GitHub Issue
repo:CRM
owner:ChurchCRM
Title : Bug: There's a missing if for the admin dashboard
Issue date:

--- start body ---
**Description**

A clear and concise description of what the reported bug is:

- ChurchCRM version: 5.7.0
- PHP version the server running: 8.2.16
- DB Server and Version the server is running: 10.3.39-MariaDB-cll-lve

**Steps To Reproduce**

Steps to reproduce the behavior:

1. Go to `/v2/dashboard`
2. Click on Admin > Edit General Settings
3. Click on Enabled Features (`/SystemSettings.php#EnabledFeatures`)
4. Set bEnabledEvents to False
5. Go back to `/v2/dashboard` & the Events stat box is still there

**Expected behavior**

Events stat box should be hidden if Events are disabled.

**Screenshots and/or logs**

📋 Relevant screenshots:

![Screenshot 2024-04-19 at 21-49-19](https://github.com/ChurchCRM/CRM/assets/201834/7a54ad91-bb5b-4459-a02d-2f8117fddca2)


--- end body ---
