@extends('themes.cp.'.setting('active_cp_theme').'.layouts.default') @section('content') @push('custom-css') @endpush @push('custom-css') @endpush @push('custom-js') @endpush
@php $class = auth()->user()->isCompanyAdmin() && !auth()->user()->isHubAdmin() ? '-4' : ''; $user = auth()->user(); @endphp {{--

{{ __('cp.myaccount.information') }}

--}}

{{-- --}}
{{ __('cp.myaccount.myaccountedit') }} {{ __('cp.myaccount.infotext') }}
{{ __('core.first_name') }} {{$user->first_name}}
{{ __('core.last_name') }} {{$user->last_name}}
{{ __('core.email') }} {{$user->email}}
{{ __('password') }}
{{-- @if($user->company()->exists()) @endif--}}
{{ __('cp.myaccount.contact') }} {{ __('cp.myaccount.infotext') }}
{{ __('company') }} {{ucwords($user->company()->name)}}
{{ __('core.phone') }} {{$user->phone}}
{{ __('core.address') }} {{$user->address->street ?? ''}}
{{ __('core.city') }} {{$user->address->city ?? ''}}
{{ __('core.zip') }} {{$user->address->zip ?? ''}}
{{ __('core.county') }} {{$user->address->county ?? ''}}
{{ __('core.country') }} {{$user->address->country ?? ''}}
{{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- @if(module_exists('social'))--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- @endif--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{--
Membership {{ __('cp.myaccount.infotext') }}
Membership Type:--}} {{-- @php--}} {{-- $activegroups = [];--}} {{-- foreach($user->getRoleNames() as $group){--}} {{-- array_push($activegroups, $group);--}} {{-- }--}} {{-- @endphp--}} {{-- @foreach($activegroups as $g)--}} {{-- {{$g}}--}} {{-- @endforeach--}} {{--
Last activity--}} {{-- {{$user->created_at}}--}} {{--
Last Profile Update--}} {{-- {{$user->updated_at}}--}} {{--
Date Joined--}} {{-- {{$user->created_at}}--}} {{--
--}} {{--
--}}
{{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{--
Profile Image
--}} {{-- --}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{--
--}}

{{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}}
{{ __('cp.myaccount.accountsettigs') }}
Password Create New Password
Language--}} {{-- {{$user->settings->language}}--}} {{--
{{-- @if(setting('user_account_termination'))--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{--
{{ __('cp.myaccount.deleteaccount') }}
--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{--
--}} {{-- @endif--}} {{-- @if(!$this->user->company_id && !auth()->user()->is_admin)
{{ __('cp.myaccount.switch_to_company') }}
@endif--}}

{{-- @if(auth()->user()->isCompanyAdmin() && !auth()->user()->isHubAdmin())