getDashboardMatrix($searchTerm, $groupId, $activeProcessId); $people = $matrixData['people']; $processes = $matrixData['definitions']; $instances = $matrixData['instances']; $spotkania_cols = $matrixData['spotkania_cols']; $bni_groups = $matrixData['bni_groups']; $all_functions = $matrixData['all_functions']; $status_colors = [ 'none' => 'secondary', 'negative' => 'danger', 'in_progress' => 'warning', 'positive' => 'success', 'present' => 'success', 'absent' => 'danger', 'substitute' => 'warning', ]; ?>

Dashboard

Person Spotkania Inne procesy
'>

, Grupa:
isMemberOfGroup($person['id'], $col['group_id']); $status = $isMember ? 'present' : 'none'; // The meeting date will be determined by JS, we will add it to the data attribute // The initial meeting date is the first one in the list. $meeting_datetime = $col['meetings'][0] ?? ''; $color = $status_colors[$status] ?? 'secondary'; ?>