@extends('layouts.app') @section('title', 'Activity & Performance Report - OVMSA') @section('content')

Activity & Performance Report

System-Wide Activity Tracking and Performance Metrics

Back to Dashboard

Report Generated

{{ now()->format('M d, Y') }}

{{ now()->format('h:i A') }}

Generated By

{{ auth()->user()->name }}

{{ auth()->user()->email }}

Report Type

Activity Analysis

Performance tracking

Reporting Period

Last 30 Days

{{ now()->subDays(30)->format('M d') }} - {{ now()->format('M d') }}

@php $totalRecords = collect($elementCounts)->sum('count'); $activeElements = collect($elementCounts)->where('count', '>', 0)->count(); $avgRecordsPerElement = $activeElements > 0 ? round($totalRecords / $activeElements, 1) : 0; $topPerformer = collect($elementCounts)->sortByDesc('count')->first(); @endphp
Total Activity

{{ $totalRecords }}

Records created/updated

Active Elements

{{ $activeElements }}

of 13

Elements with activity

Average Activity

{{ $avgRecordsPerElement }}

Records per active element

Top Performer

Element {{ $topPerformer['id'] }}

{{ $topPerformer['count'] }} records

Element Activity Breakdown

Recent activity across all OVMSA elements

@foreach($elementCounts->sortByDesc('count') as $element)
{{ $element['id'] }}

{{ $element['name'] }}

{{ $element['count'] }} total records

@if($element['count'] > 0) @php $percentage = $totalRecords > 0 ? round(($element['count'] / $totalRecords) * 100, 1) : 0; @endphp {{ $percentage }}%

of total activity

@else No activity @endif
@if($element['count'] > 0) @php $barWidth = $totalRecords > 0 ? ($element['count'] / $totalRecords) * 100 : 0; @endphp
@endif
@endforeach

Top Performing Elements

Highest activity levels

@foreach($elementCounts->sortByDesc('count')->take(5) as $index => $element) @if($element['count'] > 0)
{{ $index + 1 }}

{{ $element['name'] }}

{{ $element['count'] }}
@endif @endforeach

Activity Trends

Key performance indicators

System Growth

{{ $totalRecords }} records demonstrate consistent documentation

Element Coverage

{{ $activeElements }} of 13 elements actively maintained

Distribution Balance

Average {{ $avgRecordsPerElement }} records per active element

Recommendations

Actions to improve system performance

@if(collect($elementCounts)->where('count', '=', 0)->count() > 0)

Initialize Pending Elements

{{ collect($elementCounts)->where('count', '=', 0)->count() }} elements require initial setup to ensure full system coverage

@endif

Regular Reviews

Schedule periodic reviews of all elements to maintain documentation quality

Maintain Momentum

Continue current documentation practices for active elements

Staff Training

Ensure all personnel are trained on documentation procedures

This report was automatically generated by the OVMSA Management System

© {{ now()->year }} BSS OVMSA. All rights reserved. | Report ID: {{ strtoupper(uniqid()) }}

@endsection