@extends('layouts.app') @section('title', $report->name . ' - Rapor Detayı') @section('page-title', $report->name) @section('content')
Raporlara Dön

{{ $report->name }}

{{ $reportTypes[$report->type]['description'] ?? '' }}

{{ $report->status_label }} @if($report->status === 'completed' && $report->file_path) İndir @endif @if($report->status === 'failed')
@csrf
@endif
Rapor Tipi
{{ $reportTypes[$report->type]['name'] ?? $report->type }}
Format
{{ strtoupper($report->file_format ?? '-') }}
Oluşturan
{{ $report->creator->name }}
Oluşturulma Tarihi
{{ $report->created_at->format('d.m.Y H:i:s') }}
@if($report->generated_at)
Oluşturulma Zamanı
{{ $report->generated_at->format('d.m.Y H:i:s') }} ({{ $report->generated_at->diffForHumans() }})
@endif @if($report->record_count)
Kayıt Sayısı
{{ number_format($report->record_count) }}
@endif @if($report->file_size)
Dosya Boyutu
{{ $report->file_size_human }}
@endif @if($report->expires_at)
Son Kullanma Tarihi
{{ $report->expires_at->format('d.m.Y H:i') }} @if($report->isExpired()) Süresi Dolmuş @else ({{ $report->expires_at->diffForHumans() }}) @endif
@endif @if($report->parameters)
Parametreler
@foreach($report->parameters as $key => $value)
{{ $key }}: {{ is_array($value) ? json_encode($value) : $value }}
@endforeach
@endif
@if($report->error_message)

Hata Mesajı

{{ $report->error_message }}

@endif @if($report->status === 'processing')

Rapor İşleniyor

Rapor hazırlandığında sayfayı yenileyin.

@endif
@if($report->status === 'processing') @push('scripts') @endpush @endif @endsection