@extends('layouts.enterprise') @section('title', 'Mi perfil') @section('content') @php $normalizedRole = \App\Models\User::normalizeRole($user->role ?? null); $isSupplier = $normalizedRole === \App\Models\User::ROLE_SUPPLIER; $showSecurityBlocks = !$isSupplier || ($company?->profile_completed_at !== null); @endphp
@include('profile.partials.update-profile-information-form')
@if($showSecurityBlocks)
@include('profile.partials.update-password-form')
@endif
@endsection