@extends('layouts.app') @section('title', 'Compliance Overview Report - OVMSA') @section('content')

Compliance Overview Report

OVMSA System-Wide Compliance Status and Analysis

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

Compliance Overview

System-wide analysis

Reporting Period

Current Status

As of {{ now()->format('M Y') }}

@php $totalRecords = collect($elementCounts)->sum('count'); $activeElements = collect($elementCounts)->where('count', '>', 0)->count(); $complianceRate = $activeElements > 0 ? round(($activeElements / 13) * 100) : 0; $pendingElements = 13 - $activeElements; @endphp
Overall Compliance

{{ $complianceRate }}%

Active Elements

{{ $activeElements }}

of 13

Elements with documentation

Total Records

{{ $totalRecords }}

Documented records

Pending Setup

{{ $pendingElements }}

Elements requiring attention

Element-by-Element Compliance Status

Detailed compliance analysis for all 13 OVMSA elements

@foreach($elementCounts as $element) @endforeach
Element Name Records Status Compliance Actions
{{ $element['id'] }}
{{ $element['name'] }}
{{ $element['count'] }} @if($element['count'] > 0) Active @else Pending @endif
@if($element['count'] > 0)
100% @else
0% @endif
View Details

Compliance Categories

Fully Compliant {{ $activeElements }} elements
Pending Implementation {{ $pendingElements }} elements

Key Findings

  • {{ $complianceRate }}% overall compliance rate achieved
  • {{ $activeElements }} elements have complete documentation
  • {{ $totalRecords }} total records across all elements
  • @if($pendingElements > 0)
  • {{ $pendingElements }} elements require immediate setup
  • @endif

This report was automatically generated by the OVMSA Management System

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

@endsection