CHUMANA SERVICELINK
V4.1.1.011 STABLE — PROVIDER TO CUSTOMER SWITCH FIX

ROOT CAUSE FIXED
The Customer Dashboard status-label helper was declared after the dashboard
had already called it while preparing active-job actions and recent activity.
When a provider with customer access switched into Customer Workspace and had
an active job, PHP could throw a fatal 'undefined variable/function' error,
causing HTTP 500.

FIXES
- Moved the customer status helper before all customer dashboard processing.
- Added a defensive guard around pending-action preparation.
- Added server error logging for optional customer widget failures.
- Closed the active PHP session before workspace redirect.
- Added workspace-switch-diagnostic.php.
- Preserved the four-column Dashboard Snapshot.
- Preserved database schema and business workflows.

DATABASE UPGRADE
Not required.
