@extends('layouts.adminmaster') @section('styles') @endsection @section('content')
@if (Auth::user()->image == null) @else @endif
{{Auth::user()->name}}
{{Auth::user()->email}}
@if(!empty(Auth::user()->getRoleNames()[0]))
{{ Auth::user()->getRoleNames()[0]}}
@endif

{{lang('Personal Details')}}

{{lang('Employee ID')}} {{Auth::user()->empid}}
{{lang('Name')}} {{Auth::user()->name}}
{{lang('Role')}} @if(!empty(Auth::user()->getRoleNames()[0])) {{Auth::user()->getRoleNames()[0]}} @endif
{{lang('Email')}} {{Auth::user()->email}}
{{lang('Phone')}} {{Auth::user()->phone}}
{{lang('Languages')}} @php $values = explode(",", Auth::user()->languagues); @endphp
    @foreach ($values as $value)
  • {{ucfirst($value)}}
  • @endforeach
{{lang('Skills')}} @php $values = explode(",", Auth::user()->skills); @endphp
    @foreach ($values as $value)
  • {{ucfirst($value)}}
  • @endforeach
{{lang('Location')}} {{Auth::user()->country}}
@if(setting('SPRUKOADMIN_P') == 'on')

{{lang('Personal Setting')}}

darkmode == 1) checked="" @endif>
@endif

{{lang('Profile Details')}}

@if(Auth::user()->can('Profile Edit'))
@csrf @honeypot
@error('firstname') {{ lang($message) }} @enderror
@error('lastname') {{ lang($message) }} @enderror
@error('phone') {{ lang($message) }} @enderror
@error('languages') {{ lang($message) }} @enderror
@error('skills') {{ lang($message) }} @enderror
@error('image') {{ lang($message) }} @enderror
{{lang('The file size should not be more than 5MB', 'filesetting')}}
@if (Auth::user()->image != null) @endif
@else @csrf @honeypot
@error('image') {{ lang($message) }} @enderror
{{lang('The file size should not be more than 5MB', 'filesetting')}}
@if (Auth::user()->image != null) @endif
@endif
@if(setting('Employe_google_two_fact') == 'on' || setting('Employe_email_two_fact') == 'on')
{{lang('Two Factor Authentication')}}
@if(setting('Employe_google_two_fact') == 'on')
twofactorauth == 'googletwofact') checked="" @endif>
@endif @if(setting('Employe_email_two_fact') == 'on') @endif
@if (setting('Employe_google_two_fact') == 'on' && Auth::user()->twofactorauth == 'googletwofact')
@endif @if (setting('Employe_email_two_fact') == 'on' && Auth::user()->twofactorauth == 'emailtwofact')
@endif
@endif @include('admin.auth.passwords.changepassword')
@endsection @section('scripts') @endsection