JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr@extends('layouts.admin') @section('page-title') @if (\Auth::user()->type == 'super admin') {{ __('Manage Companies') }} @else {{ __('Manage Users') }} @endif @endsection @section('breadcrumb') @if (\Auth::user()->type == 'super admin') @else @endif @endsection @section('action-button') @if (Gate::check('Manage Employee Last Login')) @can('Manage Employee Last Login') @endcan @endif @can('Create User') @if (\Auth::user()->type == 'super admin') @else @endif @endcan @endsection @php $logo = \App\Models\Utility::get_file('uploads/avatar/'); $profile = \App\Models\Utility::get_file('uploads/avatar/'); @endphp @section('content')
@if (\Auth::user()->type == 'super admin') @foreach ($users as $user)

{{ $user->name }}

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

{{ __('Users') }}

{{ $user->countEmployees() }}

{{ __('Employees') }}

@endif
@endforeach @else @foreach ($users as $user)
{{ ucfirst($user->type) }}
@if (Gate::check('Edit User') || Gate::check('Delete User'))
@if ($user->is_active == 1 && $user->is_disable == 1) @else @endif
@endif

{{ $user->name }}

{{ $user->email }}
@endforeach @endif
@endsection @push('scripts') {{-- Password --}} @endpush