@extends('layouts.app')
@section('title', 'Training Statistics')
@section('title-flex')
Filter
@if(\Auth::user()->isAdmin())
All Areas
@endif
@foreach($areas as $area)
@if(\Auth::user()->isModeratorOrAbove($area))
{{ $area->name }}
@endif
@endforeach
@endsection
@section('content')
In queue
{{ $cardStats["waiting"] }} requests
In training
{{ $cardStats["training"] }} requests
Awaiting exam
{{ $cardStats["exam"] }} requests
Completed this year
{{ $cardStats["completed"] }} requests
Closed this year
{{ $cardStats["closed"] }} requests
Rating |
Waiting time average low — high |
@foreach($queues as $queue => $time)
{{ $queue }} |
{{ \Carbon\CarbonInterval::seconds(round($time[0]))->cascade()->forHumans(['parts' => 2]) }} — {{ \Carbon\CarbonInterval::seconds(round($time[1]))->cascade()->forHumans(['parts' => 2]) }} |
@endforeach
@endsection
@section('js')
@vite('resources/js/chart.js')
@endsection