@extends('manage.layouts') @section('content')

@if($parent_id > 0) لیستی کارمەندانی {{ @$parent->email }} @else لیستی کڕیاران @endif

@if($parent_id > 0) هەموو کارەمەندەکان @else هەموو کڕیارەکان @endif {{ count($users) }}

@forelse($users as $user) @empty @endforelse
# ناوی کڕیار نازناو مۆبایل کارمەند سەبەتە تۆماربووە دۆخ کارەکان
{{ $user->id }} {{ $user->email }} {{ $user->name }} {{ $user->phone }} @if($user->parent_id > 0) کارمەندی {{ @$user->parent->email }} @else @if($user->count_parent->count() > 0) {{ @$user->count_parent->count(); }} کارمەندی هەیە @else کارەمەندەکان @endif @endif سەبەتە {{ $user->created_at }} @if(Cache::has('user-is-online-' . $user->id)) سەرهێڵە @else دەرهێڵ @endif @php $bypass = true; @endphp @if(in_array($user->id, [1,4]) ) @if(!in_array(Auth::user()->id, [1,4])) @php $bypass = false; @endphp @endif @endif @if($bypass) @endif

هیچ کڕیارێک نییە

@endsection