@extends('admin.layouts.master') @section('css') @include('admin.helper.tablecss') @endsection @section('title', 'إدارة التجار') @section('page-header') @endsection @section('content')

البحث في التجار

قائمة التجار ({{ $vendors->total() }})

@if ($vendors->count() > 0)
@foreach ($vendors as $index => $vendor) @endforeach
# اسم التاجر البريد الإلكتروني رقم الهاتف الرصيد المستخدمين التابعين الصلاحيات تاريخ الإنشاء الإجراءات
{{ $vendors->firstItem() + $index }}
@if ($vendor->user->image) صورة @else
{{ substr($vendor->user->name, 0, 1) }}
@endif
{{ $vendor->user->name }} @if ($vendor->user->store)
{{ $vendor->user->store }} @endif
{{ $vendor->user->email }} {{ $vendor->user->mobile ?? 'غير محدد' }} {{ number_format($vendor->user->balance, 2) }} {{ $vendor->user->currency->name ?? '' }} {{ $vendor->managedUsersCount() }} مستخدم
@if ($vendor->canDisable) تعطيل المستخدمين @endif @if ($vendor->canAdduser) إضافة مستخدمين @endif @if (!$vendor->canDisable && !$vendor->canAdduser) بدون صلاحيات إضافية @endif
{{ $vendor->created_at->format('Y-m-d') }}
{{ $vendors->appends(request()->query())->links() }}
@else
لا توجد تجار

لم يتم العثور على أي تجار في النظام

رفع درجة مستخدم إلى تاجر
@endif
@endsection @section('js') @include('admin.helper.tablescripts') @endsection