connectedServices = ConnectedServiceData::collect([ new ConnectedServiceData( name: 'Microsoft Outlook', icon: 'home', type: ConnectionTechTypes::OIDC, connectionService: 'Azure AD', status: ConnectionStatus::Connected ), new ConnectedServiceData( name: 'Microsoft Teams', icon: 'home', type: ConnectionTechTypes::OIDC, connectionService: 'Azure AD', status: ConnectionStatus::Pending ), new ConnectedServiceData( name: 'Keka HR', icon: 'home', type: ConnectionTechTypes::SAML, connectionService: 'KeKA', status: ConnectionStatus::Disconnected ), new ConnectedServiceData( name: 'Trutimer', icon: 'home', type: ConnectionTechTypes::SAML, connectionService: 'Redmine', status: ConnectionStatus::Error ), ], DataCollection::class); } }; ?>
@foreach ($connectedServices as $service)
Outline

{{$service->name}}

{{$service->type->name}} - {{$service->connectionService}}

$service->status === ConnectionStatus::Connected, 'bg-gray-400' => $service->status === ConnectionStatus::Disconnected, 'bg-yellow-400' => $service->status === ConnectionStatus::Pending, 'bg-red-400' => $service->status === ConnectionStatus::Error, ]) >

{{ucfirst($service->status->name)}}

Revoke
@endforeach