@extends('admin.layouts.app') @section('title', 'Kullanıcılar') @section('page_title', 'Kullanıcı Yönetimi') @section('content')

Kullanıcılar

Sistem kullanıcılarını yönetin

{{ $users->total() }}
Toplam Kullanıcı
{{ $users->where('is_active', true)->count() }}
Aktif Kullanıcı
{{ $users->where('is_verified', false)->count() }}
Doğrulanmamış
{{ $users->whereNotNull('agency_id')->count() }}
Acente Üyesi
Temizle
Kullanıcı Listesi
{{ $users->firstItem() ?? 0 }}-{{ $users->lastItem() ?? 0 }} / {{ $users->total() }} kullanıcı
@if($users->count() > 0)
@foreach($users as $user) @endforeach
Kullanıcı İletişim Acente Roller Durum Son Giriş İşlemler
@if($user->avatar) {{ $user->full_name }} @else
{{ $user->initials }}
@endif
{{ $user->full_name }}
{{ $user->email }}
@if($user->national_id)
TC: {{ $user->national_id }}
@endif
@if($user->phone)
{{ $user->phone }}
@endif @if($user->city)
{{ $user->city }}
@endif
@if($user->agency)
{{ $user->agency->name }}
@if($user->position)
{{ $user->position }}
@endif
@else - @endif
@forelse($user->roles as $role) {{ ucfirst($role->name) }} @empty Rol atanmamış @endforelse
@if($user->is_active) Aktif @else Pasif @endif @if($user->is_verified) Doğrulanmış @else Doğrulanmamış @endif
@if($user->last_login_at)
{{ $user->last_login_at->diffForHumans() }}
{{ $user->last_login_at->format('d.m.Y H:i') }}
@if($user->last_login_ip)
{{ $user->last_login_ip }}
@endif
@else Hiç giriş yapmamış @endif
@else

Kullanıcı bulunamadı

{{ request()->hasAny(['search', 'status', 'role']) ? 'Arama kriterlerinize uygun kullanıcı bulunamadı.' : 'Henüz hiç kullanıcı eklenmemiş.' }}

@if(!request()->hasAny(['search', 'status', 'role'])) İlk Kullanıcıyı Oluştur @endif
@endif
@if($users->hasPages()) @endif
@endsection @push('scripts') @endpush