@extends('layouts.public') @section('title', 'Accept Invitation - Meduvo Health') @php $roleLabels = [ 'clinic_admin' => 'Clinic Admin', 'pcp' => 'PCP', 'bhcm' => 'BHCM', 'psychiatrist' => 'Psychiatrist', 'billing_staff' => 'Billing Staff', 'practice_manager' => 'Practice Manager', 'clinical_support' => 'Clinical Support', 'front_desk' => 'Front Desk', 'patient' => 'Patient', ]; @endphp @section('content')

Secure account setup

Accept your Meduvo invitation.

Create your own password to activate access for the invited practice workspace.

@if ($errors->any())
{{ $errors->first() }}
@endif @if ($state !== 'valid')

@if ($state === 'accepted') Invitation already accepted @elseif ($state === 'expired') Invitation expired @elseif ($state === 'revoked') Invitation revoked @else Invitation unavailable @endif

@if ($state === 'accepted') This setup link has already been used. Sign in with the account that was created from this invitation. @elseif ($state === 'expired') This invitation is past its expiration date. Ask the clinic admin to send a new staff invitation. @elseif ($state === 'revoked') This setup link was revoked. Ask the clinic admin to send a fresh invitation. @else This setup link is invalid or no longer exists. Ask the clinic admin to send a fresh invitation. @endif

@else

Practice

{{ $invitation->tenant?->name ?? 'Meduvo Health' }}

Role

{{ $roleLabels[$invitation->role] ?? $invitation->role }}

Expires

{{ \App\Support\UsFormat::date($invitation->expires_at) }}

@csrf

Password strength

Start typing

8+ characters
Upper/lowercase
Number
Symbol

Passwords match. Passwords do not match yet.

@endif
@endsection