CHANGE_DASH

This commit is contained in:
VENKATESHWARAN 2025-10-31 17:15:16 +05:30
parent 8a136faf70
commit faca4e008e

View File

@ -226,7 +226,7 @@ $isActive = get_role_id() == STAFF_ROLE_ID && in_array(ENROLLMENT_TEAM_ID, user_
$bgColor = $colorShades[$colorSetIndex][$shadeIndex];
?>
<?php
$formattedStatus = strlen($key) < 5 ? strtoupper($key) : ucwords(str_replace('_', ' ', $key));
$formattedStatus = strlen($key) < 5 ? strtoupper($key) : formatKey($key, 4);
$truncatedStatus = strlen($formattedStatus) > 20 ? substr($formattedStatus, 0, 15) . '...' : $formattedStatus;
$showTooltip = strlen($formattedStatus) > 20;
?>