@extends('layouts.admin-simple') @section('title', 'Reports') @section('page-title', 'Reports') @section('breadcrumb') @endsection @section('page-actions')
add Add Report
@endsection @section('content')
clear Clear

Reports

Manage company reports and documents
{{ $reports->total() }} total reports
@forelse($reports as $report) @empty @endforelse
Report Category File Info Published Downloads Status Actions
description
{{ $report->title }} @if($report->description)
{{ Str::limit($report->description, 60) }}
@endif
@php $categoryClasses = [ 'financial' => 'badge-soft-info', 'board' => 'badge-soft-warning', 'annual' => 'badge-soft-success' ]; $badgeClass = $categoryClasses[$report->category] ?? 'badge-soft-secondary'; @endphp folder {{ $report->category_name }} @if($report->file_type)
{{ strtoupper($report->file_type) }}
{{ $report->formatted_file_size }}
@else No file @endif
{{ $report->published_at->format('M d, Y') }}
{{ $report->published_at->format('H:i') }}
{{ $report->download_count ?: 0 }} downloads @if($report->is_active) Active @else Inactive @endif
description
No reports found

@if(request()->hasAny(['search', 'category', 'status'])) Try adjusting your search criteria or clear filters. @else Start by creating your first report. @endif

add Create First Report
@if($reports->hasPages()) @endif
@endsection @push('scripts') @endpush