@extends('admin.layout') @section('title', 'Kullanıcılar') @section('content') @php $appFilter = $appFilter ?? 'all'; $appScopeLabel = $appFilter === 'all' ? 'tüm uygulamalar' : ($appLabels[$appFilter] ?? $appFilter); @endphp
| Kullanıcı | İletişim | Rol | Topluluklar | Bakiye | Uygulama onayı | Durum | |
|---|---|---|---|---|---|---|---|
|
{{ $user->name }}
@if($user->account_deleted_at)
Silinen hesap
@endif
{{ $user->title ?: 'Unvan belirtilmedi' }}
@foreach($membershipsToShow as $appMembership)
@php
$applicationRows = \App\Support\RegistrationAnswers::present($appMembership->registration_answers);
@endphp
@if($appMembership->approval_status === 'pending' && count($applicationRows))
Başvuru — {{ $appLabels[$appMembership->app] ?? $appMembership->app }}
@foreach($applicationRows as $row)
{{ $row['label'] }}
{{ $row['value'] }}
Eski: {{ $user->accountDeletion->original_name }} · {{ $user->accountDeletion->original_email }}
@if($user->accountDeletion->deletion_ip)
· IP: {{ $user->accountDeletion->deletion_ip }}
@endif
@endif
|
@if($user->accountDeletion)
{{ $user->accountDeletion->original_email }}
{{ $user->accountDeletion->original_phone ?: 'Telefon yok' }}
@else
{{ $user->email }}
{{ $user->phone ?: 'Telefon yok' }}
@endif
|
{{ $user->role?->label() }} |
@forelse($memberCommunities as $membership)
{{ $membership->community->name }}
@empty
Topluluk yok
@endforelse
|
{{ number_format((float)$user->balance, 2, ',', '.') }} ₺ |
@if($user->isOwner())
Sahip — tüm uygulamalar
@elseif($membershipsToShow->isEmpty())
Üyelik yok
@else
@foreach($membershipsToShow as $appMembership)
@php $status = $appMembership->approval_status ?? 'pending'; @endphp
{{ $appLabels[$appMembership->app] ?? $appMembership->app }}
|
@if($user->account_deleted_at)
Silindi
{{ $user->account_deleted_at?->format('d.m.Y H:i') }}
@else
{{ $user->is_active ? 'Aktif' : 'Pasif' }}
@endif
|
|
| Kullanıcı bulunamadı. | |||||||