@extends('layouts.employee') @section('title', 'Performance Analytics') @section('content')

Performance Analytics

Comprehensive metrics for Guard and Patroller operations.

Period:

Attendance Rate

{{ $attendanceRate }}%
Consolidated

Field Reports

{{ $incidentCount + $patrollerTickets }}
{{ $incidentCount }} Incidents | {{ $patrollerTickets }} Tickets

Avg Shift length

{{ $avgShiftDuration }} h
Active Time

Monthly Income

${{ number_format(end($incomeData), 2) }}
Current Month

Guard Job Operations

Static site deployment metrics (30d)

Total Shifts

{{ $guardShiftCount }}

Completed

{{ $guardCompletedCount }}

Missed

{{ $guardMissedCount }}

Upcoming

{{ $guardUpcomingCount }}

Cancelled

{{ $guardCancelledCount }}

Patroller Operations

Route-based patrol metrics (30d)

Total Routes

{{ $patrollerShiftCount }}

Completed

{{ $patrollerCompletedCount }}

Missed

{{ $patrollerMissedCount }}

Upcoming

{{ $patrollerUpcomingCount }}

Income Overview

Consolidated earnings trend over the last 12 months

Incident & Ticket Trends

Field activity reporting over the last 12 months

@endsection