@extends('layouts.superadmin') @section('title','AI — تحليل التقييمات') @section('content')
{{ json_encode($stats, JSON_UNESCAPED_UNICODE|JSON_PRETTY_PRINT) }}
| المُقيّم | تقييمات | متوسط | اعتراضات | غياب بدون عذر | أكشن |
|---|---|---|---|---|---|
|
{{ $r->name }}
{{ '@'.$r->username }}
|
{{ $r->evaluations_count }} | {{ round($r->avg_points,2) }} | {{ $r->objections_total }} | {{ $r->absent_without_excuse_days }} | مؤشر |
| التاريخ | العضو | المقيم | الحالة | نقاط | أسباب |
|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($ev->evaluation_date)->toDateString() }} |
{{ $ev->user->name ?? ('#'.$ev->user_id) }}
{{ $ev->user->username ? '@'.$ev->user->username : '' }}
|
{{ $ev->evaluator->name ?? ('#'.$ev->evaluator_id) }}
{{ $ev->evaluator->username ? '@'.$ev->evaluator->username : '' }}
|
{{ $ev->attendance_status }} @if($ev->anomaly_severity === 'high') HIGH @elseif($ev->anomaly_severity === 'mid') MID @else LOW @endif | {{ $ev->total_daily_points }} |
@foreach(($ev->anomaly_reasons ?? []) as $r)
• {{ $r }}
@endforeach
|
| التاريخ | المقيم | الحالة | واتساب | تيكتوك | نقاط | تحذيرات |
|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($ev->evaluation_date)->toDateString() }} | {{ $ev->evaluator->name ?? ('#'.$ev->evaluator_id) }} | {{ $ev->attendance_status }} | {{ (int)($ev->whatsapp_presence ?? 0) }} | {{ (int)($ev->tiktok_interaction ?? 0) }} | {{ (int)($ev->total_daily_points ?? 0) }} | {{ (int)($ev->warnings_count ?? 0) }} |