@extends('dashboard.layouts.app') @section('css') @endsection @section('content')

{{\App\Models\User::count()}}

المستخدمين

{{\App\Models\Item::count()}}

المعاملات

{{\App\Models\User::where('active', '1')->count()}}

عدد المستخدمين النشطين

{{\App\Models\User::where('active', '0')->count()}}

عدد المستخدمين غير النشطين

2

عدد المستخدمين المتبقي

المستخدمين حسب الصلاحيه
@php $user_count = \App\Models\User::count(); @endphp @foreach (\App\Models\Role::get() as $role)
{{$role->title}}
@if ($role->User()->count() == 0) (0%) @else ({{round(100 - ((($user_count - $role->User()->count() ) / $user_count) * 100))}}%) @endif {{$role->User()->count()}}
@endforeach
المستخدمين حسب الوظيفه
@foreach (\App\Models\Job::get() as $job)
{{$job->title}}
{{$job->User()->count()}}
@endforeach
المستخدمين حسب النشاط
الاكثر تسجيلا للمعاملات
Name Example
22
الاكثر حضورا علي النظام
Name Example
22
الاكثر تسجيلا للمعاملات المؤقته
Name Example
22
الاكثر تعليقا
Name Example
22
@csrf
المحدد : 0
حذف تعديل {{-- تصفية --}} {{-- ايميل --}} {{-- Excel --}}
@if (0) @php $i = 0; @endphp @foreach ($rows as $item) @endforeach
#
الاسم
البريد الألكترونى
رقم الهاتف
القسم
الوظيفة
الدوله
الحاله
عمليات
{{$i++}}
{{-- --}}
{{$item->name}}
{{$item->email}} {{$item->phone}} {{$item->Department->title ?? ''}} {{$item->Role->title ?? ''}} {{$item->Country->title ?? ''}}
@if ($item->active) نشط @else غير نشط @endif
{{ $rows->appends($search)->links() }}
@endif @include('dashboard.users.table')
@endsection @section('modal') @endsection @section('js') @include('dashboard.layouts.tableActions', ['gn_name' => request()->segment(2), 'post_search_route' => route(request()->segment(2).'.index-post')]) @endsection