

    {{ @Helper::language('notification') }}

    {{-- --}}
  • @if (Auth::user()->photo != '') @if (Auth::user()->type == 1) @php try { $photoPath = 'uploads/users/'; $photoUrl = Storage::disk('s3')->url($photoPath . Auth::user()->photo); } catch (\Exception $e) { $photoPath = 'uploads/users/'; $photoUrl = asset($photoPath) . '/' . Auth::user()->photo; } @endphp {{ Auth::user()->name }} @else @php try { $photoPath = 'uploads/customer/'; $photoUrl = Storage::disk('s3')->url($photoPath . Auth::user()->photo); } catch (\Exception $e) { $photoPath = 'uploads/customer/'; $photoUrl = asset($photoPath) . '/' . Auth::user()->photo; } @endphp {{ Auth::user()->name }} @endif @else {{ Auth::user()->name }} @endif
    {{ __('backend.profile') }}
    Change Password
    Logout
    {{ csrf_field() }}