@extends('admin.layout.layout') @section('page-level-css') @endsection @section('content')
@include('admin.partials.header')
{{-- tab starts here --}}
Back
{{-- userInformation starts here --}}
@if(empty($userInfo->company_logo)) @else @endif

Login History

@if($userInfo->is_admin == 1) Admin @else User @endif | @if($userInfo->status == 1) {{config('global.activeTitle')}} @elseif($userInfo->status == 2) {{config('global.pendingTitle')}} @else {{config('global.InactiveTitle')}} @endif

@if($userInfo->is_admin == 0)

Admin : @isset($userInfo->getRefferedUser) {{$userInfo->getRefferedUser->first_name}} {{$userInfo->getRefferedUser->last_name}} @endisset

@else

Reffered Users Count : {{count($referredUsers)}}

@endif

Moderation Status : @if($userInfo->can_moderate == 1) Can moderate @else Cannot Moderate @endif



{{$userInfo->first_name}} {{$userInfo->last_name}}

Created at : {{$userInfo->created_at->format('l jS \\of F Y h:i:s A')}}

Company Information
Company Name : {{$userInfo->company_name}}
Address : {{$userInfo->company_address}}
Company Website : {{$userInfo->website}}
Email :
Contact :
@if(!empty($userInfo->referral_code) && $userInfo->is_admin == 1)
REF Code :
@endif
{{$userInfo->email}}
{{$userInfo->mobile_number}}
{{$userInfo->referral_code}}
Other Information

Username

{{$userInfo->username}}

User Type

{{$userInfo->user_type}}

Branch in Current Company

{{$userInfo->branches}}

Designation in Current Company

{{$userInfo->designation}}

Alternate Contact Number

{{$userInfo->alternate_number}}

Alternate Email

{{$userInfo->alternate_email}}

Area of Expertise

{{$userInfo->area_of_expertise}}

Country

@isset($userInfo->getCountry->name){{$userInfo->getCountry->name}}@endisset

State

@isset($userInfo->getState->name){{$userInfo->getState->name}}@endisset

City

@isset($userInfo->getCity->name){{$userInfo->getCity->name}}@endisset

About Company

{{$userInfo->about_company}}

Notes

{{$userInfo->notes}}

{{-- permissions starts --}} @if( count($userPermissions) != 0 ) @foreach( $userPermissions as $userPermission ) @endforeach @endif
Permissions
{{$userPermission->name}}
{{-- permissions ends --}}

{{-- userInformation ends here --}} {{-- associatedUsers starts here --}} @if($userInfo->is_admin == 1)
{{-- if admin show registered users starts--}}
Associated Users
@if( count($referredUsers) != 0 ) @php $sr = 0; @endphp @foreach( $referredUsers as $referredUser ) @endforeach @else @endif
{{-- if admin show registered users ends--}}
@endif {{-- associatedUsers ends here --}} {{-- userSpaces starts here --}}
@if($userInfo->can('ooh space')) @php $sr = 0; @endphp @foreach( $userInfo->getUserSpaces as $userSpace ) @endforeach @else

This user does not has permission to add ooh space.!

@endif
{{-- userSpaces ends here --}}

Change Password

@csrf

Password

Confirm Password

{{-- tab ends here --}}
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(Session::has('success'))
{{Session::get('success')}}
@endif
{{-- Delete Modal Starts here --}} @include('admin.partials.deleteModal') {{-- Delete Modal ends here --}} @include('admin.partials.footer')
@endsection @section('page-level-js') @endsection