@extends('dashboard.dashboard_layouts.dashboard_master') @section('admin_dashboard_title') Edit Profile @endsection @section('admin_dashboard_css') @endsection @section('admin_dashboard_content')

Edit Profile

@php $class = 'col-lg-12'; $user = App\Models\User::where('id' , auth()->user()->id)->first(); @endphp @canany(['profile edit personal information', 'profile edit password update', 'profile edit security question']) @php $class = 'col-lg-4'; @endphp @endcan
{{ $login_user->first_name }} {{ $login_user->last_name }}
Bio
{{ $user_bio }}
@if ($login_user->roles[0]->name == 'Client')
@endif
Mobile
{{ $login_user->phone }}
Current Address
{{ $login_user->address }}
@canany(['profile edit personal information', 'profile edit password update', 'profile edit security question'])
@can('profile edit personal information')
@csrf
{{-- {{ dd( $date_o_birth ) }} --}}
@if ($login_user->roles[0]->name == 'Client')
@endif
@if ($login_user->roles[0]->name == 'Client')
@endif
{{$totalWordsTwo}} / 50 Letters Used
{{$totalWords}} / 150 Letters Used
@endcan @can('profile edit password update')
@csrf
{{-- --}}
@endcan @can('profile edit security question')
Security Question

verified == 'yes' ? 'checked' : '' }} class="enable" name="is_sms_enabled" id="is_sms_enabled"> Enable Two Factor Authentication
verified == 'no' ? 'readonly' : '' }} class="form-control mobile_number" placeholder = "Enter Mobile Number" required>
@endcan
@endcanany
@include('profile.edit_profile_modal')
@endsection @section('admin_dashboard_script') @endsection