@extends('layouts.admin') @php // $profile=asset(Storage::url('uploads/avatar/')); $profile=\App\Models\Utility::get_file('uploads/avatar'); @endphp @section('page-title') {{__('Manage User')}} @endsection @push('script-page') @endpush @section('breadcrumb') @endsection @section('action-btn')
@endsection @section('content')
@foreach($users as $user)
{{ ucfirst($user->type) }}
@if(Gate::check('edit user') || Gate::check('delete user'))
@if($user->is_active==1) @else @endif
@endif
@if($user->gender !='female') @else profile-image @endif

{{ $name }}

@if($user->delete_status==0)
{{__('Soft Deleted')}}
@endif {{ $user->email }}

{{ (!empty($user->last_login_at)) ? $user->last_login_at : '' }}
@if(\Auth::user()->type == 'super admin')
{{!empty($user->currentPlan)?$user->currentPlan->name:''}}

{{__('Plan Expired : ') }} {{!empty($user->plan_expire_date) ? \Auth::user()->dateFormat($user->plan_expire_date): ('Unlimited')}}

{{$user->totalCompanyUser($user->id)}}

{{$user->totalCompanyCustomer($user->id)}}

{{$user->totalCompanyVender($user->id)}}

@endif
@endforeach
@endsection