@extends('layouts.app') @section('title', 'Raporlama & Loglar') @section('content')

Raporlama & Loglar

Sistem logları ve raporlar paneli

Toplam Log

{{ number_format($totalActivityLogs) }}

Bugün

{{ number_format($todayActivityLogs) }}

Bu Hafta

{{ number_format($thisWeekActivityLogs) }}

Bu Ay

{{ number_format($thisMonthActivityLogs) }}

Toplam Rapor

{{ number_format($totalReports) }}

Tamamlanan

{{ number_format($completedReports) }}

Başarısız

{{ number_format($failedReports) }}

İşleniyor

{{ number_format($processingReports) }}

Toplam Boyut

@if($totalReportSize > 0) @if($totalReportSize >= 1073741824) {{ number_format($totalReportSize / 1073741824, 2) }} GB @elseif($totalReportSize >= 1048576) {{ number_format($totalReportSize / 1048576, 2) }} MB @else {{ number_format($totalReportSize / 1024, 2) }} KB @endif @else - @endif

@if($actionDistribution->count() > 0)

Aktivite Türleri Dağılımı

@foreach($actionDistribution as $action)

{{ number_format($action->total) }}

{{ ucfirst($action->action) }}

@endforeach
@endif @if($userActivity->count() > 0)

En Aktif Kullanıcılar

@foreach($userActivity as $activity) @endforeach
Kullanıcı Toplam Aktivite
{{ $activity->user->name ?? 'Bilinmeyen' }} {{ number_format($activity->total) }}
@endif @if($recentActivityLogs->count() > 0)

Son Aktivite Log'ları

@foreach($recentActivityLogs as $log) @endforeach
Kullanıcı Aksiyon Açıklama IP Adresi Tarih
{{ $log->user->name ?? 'Sistem' }} {{ $log->action_label }} {{ Str::limit($log->description ?? '-', 50) }} {{ $log->ip_address ?? '-' }} {{ $log->created_at->format('d.m.Y H:i') }}
@endif @if($recentReports->count() > 0)

Son Raporlar

@foreach($recentReports as $report) @endforeach
Rapor Adı Tip Durum Oluşturan Boyut Tarih
{{ $report->name }} {{ ucfirst($report->type) }} {{ $report->status_label }} {{ $report->creator->name ?? '-' }} {{ $report->file_size_human }} {{ $report->created_at->format('d.m.Y H:i') }}
@endif @if($scheduledReports->count() > 0)

Zamanlanmış Raporlar

@foreach($scheduledReports as $scheduled) @endforeach
Rapor Adı Tip Zamanlama Son Çalışma Sonraki Çalışma
{{ $scheduled->name }} {{ ucfirst($scheduled->type) }} {{ ucfirst($scheduled->schedule_type) }} - {{ $scheduled->schedule_time }} {{ $scheduled->last_run_at ? $scheduled->last_run_at->format('d.m.Y H:i') : '-' }} {{ $scheduled->next_run_at ? $scheduled->next_run_at->format('d.m.Y H:i') : '-' }}
@endif
@endsection