@extends('central.super.layout') @section('title', __('super.logs_health.tenant_history')) @push('styles') @endpush @section('content') @php $tenantName = $tenant->company_name ?? $tenant->id; @endphp

{{ number_format($stats['total']) }}

{{ __('super.logs_health.total_logs') }}

{{ number_format($stats['unresolved']) }}

{{ __('super.logs_health.unresolved') }}

{{ number_format($stats['critical']) }}

{{ __('super.logs_health.critical') }}

@forelse($logs as $log) @empty @endforelse
{{ __('super.logs_health.col_severity') }} {{ __('super.logs_health.col_type') }} {{ __('super.logs_health.col_message') }} {{ __('super.logs_health.col_occurred_at') }} {{ __('super.logs_health.col_status') }}
{{ __('super.logs_health.severity_' . $log->severity) }} {{ __('super.logs_health.type_' . $log->type) }} {{ \Illuminate\Support\Str::limit($log->message, 120) }} {{ $log->occurred_at?->diffForHumans() }} @if($log->isResolved()) {{ __('super.logs_health.resolved') }} @else {{ __('super.logs_health.unresolved') }} @endif

{{ __('super.logs_health.empty_title') }}

@if($logs->hasPages())
{{ $logs->links() }}
@endif
@endsection @push('scripts') @endpush