@extends('admin.layout') @section('title', 'Kullanıcılar') @section('page-title', 'Kullanıcılar') @section('content')
| Kullanıcı | E-posta | Kayıt Kaynağı | Kullanım Kaynağı | Abonelik | Öğretmen | Token | Rapor | Kayıt | İşlem |
|---|---|---|---|---|---|---|---|---|---|
| {{ trim(($u->name ?? '') . ' ' . ($u->last_name ?? '')) ?: '—' }} | {{ $u->email }} | @php $chInfo = $u->registration_channel_info ?? ['label' => 'Panel', 'class' => 'text-bg-secondary', 'icon' => 'bi-stars']; @endphp {{ $chInfo['label'] }} @if (in_array((string) ($u->provider ?? ''), ['google', 'facebook'], true)) {{ (string) $u->provider === 'google' ? 'Google' : 'Facebook' }} @endif | @switch($u->usage_source ?? 'none') @case('web_api') Web API @break @case('api') API @break @case('web') Web @break @default Veri Yok @endswitch | @if ($u->hasActiveSubscription()) Aktif @else Yok @endif | {{-- Öğretmenlik yetkisi (canlı ders) SADECE buradan verilir/alınır --}} | {{ number_format($u->chat_words_remaining ?? 0) }} | {{ number_format($u->report_credits_remaining ?? 0) }} | {{ $u->created_at?->format('d.m.Y') ?? '—' }} | Yönet |
| Kullanıcı bulunamadı. | |||||||||