@extends('layouts.layoutMaster')
@php
$breadcrumbs = [
['link' => 'home', 'name' => 'Home'],
['link' => 'javascript:void(0)', 'name' => 'User'],
['name' => 'Profile'],
];
@endphp
@section('title', 'Profile')
@section('content')
@if (Laravel\Fortify\Features::canUpdateProfileInformation())
@livewire('profile.update-profile-information-form')
@endif
@if (auth()->user()->hasRole('Employee'))
@php
$country = \App\Models\Country::all();
$state = \App\Models\State::all();
$city = \App\Models\City::all();
$user = \App\Models\User::where('id', Illuminate\Support\Facades\Auth::id())->first();
$employee = \App\Models\Employee::where('user_id', $user->id)->first();
@endphp
{{-- User Information Start --}}
@endif
@if (Laravel\Fortify\Features::enabled(Laravel\Fortify\Features::updatePasswords()))
@livewire('profile.update-password-form')
@endif
@if (Laravel\Fortify\Features::canManageTwoFactorAuthentication())
@livewire('profile.two-factor-authentication-form')
@endif
@livewire('profile.logout-other-browser-sessions-form')
@if (Laravel\Jetstream\Jetstream::hasAccountDeletionFeatures())
@livewire('profile.delete-user-form')
@endif
@endsection