@extends('layouts.app') @section('title', 'Kunde: '.$customer->name) @section('actions') @can(\App\Enums\Permission::CUSTOMER_MANAGE)Bearbeiten@endcan @endsection @section('content')
Projekte
{{ $customer->projects->count() }}
Geräte
{{ $switches->count() }}
Offene Findings
{{ $openFindings }}

Projekte

@forelse ($customer->projects as $project) @empty@endforelse
ProjektStatusAutorisierung
{{ $project->name }} {{ $project->status }} @if ($project->hasValidAuthorization())gültig @elsefehlt@endif
Keine Projekte.

Geräte

@forelse ($switches as $switch) @empty@endforelse
HostnameIPModellStandort
{{ $switch->hostname }} {{ $switch->management_ip }} {{ $switch->modelLabel() }} {{ $switch->site?->name ?? '–' }}
Keine Geräte.
@endsection