@extends('layouts.superadmin') @section('title', 'منظومة العلامات - تفصيل العلامات') @section('page-title', 'منظومة العلامات - تفصيل علامات الأعضاء (Breakdown)') @section('content')
يعرض صافي النقاط + إيجابي + سلبي، مع إشارة لأهم المصادر لكل عضو.
| العضو | اليوزر | الرتبة | الجنس | صافي | إيجابي | سلبي | ساعات | أهم المصادر |
|---|---|---|---|---|---|---|---|---|
|
{{ $r->name ?? ('#'.$r->id) }}
|
{{ $r->username ?? '—' }} | {{ $r->membership_status }} | @if($r->gender === 'male') شاب @elseif($r->gender === 'female') صبية @else غير محدد @endif | {{ (float)$r->net_points }} | {{ (float)$r->positive_points }} | {{ (float)$r->negative_points }} | {{ (float)$r->total_hours }} |
@if($topSources->isEmpty())
لا يوجد بيانات مفصّلة
@else
@foreach($topSources as $type => $info)
@php
$label = $sourceTypeLabels[$type] ?? $type;
$p = (float)$info['points'];
$class = $p >= 0 ? 'text-emerald-200' : 'text-rose-200';
@endphp
{{ $label }}
{{ $p }} ({{ $info['records'] }} سجل)
@endforeach
@endif
|
| لا يوجد أعضاء ضمن الفلاتر الحالية. | ||||||||