@extends('layouts.app') @section('title', 'Dashboard') @section('content')
Ringkasan pelanggaran siswa
Pelanggaran Hari Ini
{{ $stats['today_violations'] }}
Total Pelanggaran
{{ $stats['total_violations'] }}
Siswa Aktif
{{ $stats['total_students'] }}
SP Aktif (Draft)
{{ $stats['active_sp'] }}
{{ $v->student->full_name ?? '-' }}
{{ $v->violationType->name ?? '-' }} +{{ $v->points }} poin
{{ $v->violation_date->format('d/m/Y') }}
{{ $v->recorder->name ?? '-' }}
{{ $threshold->name }}
{{ $threshold->min_points }}-{{ $threshold->max_points ?? '~' }} poin
{{ $student->full_name }}
{{ $student->class_name }}