@extends('layouts.onboarding')
@section('content')
@include('onboarding.steps', ['currentStep' => 'welcome'])
@if(isset($contract) && isset($skipCountyChecks) && $skipCountyChecks)
Note: You have an individual contract assigned. County-based checks are not required for your onboarding.
@elseif(isset($contract) && isset($contract->contract_category) && $contract->contract_category === 'group')
Note: You have a group contract. County/project checks will apply during onboarding.
@endif
Welcome
@if(session('error'))
{{ session('error') }}
@endif
@if(session('success'))
{{ session('success') }}
@endif
@if($contract && !$contract->active_for_onboarding)
Contract Currently Inactive
The contract for your role is currently not active. Please contact your administrator for more information.
@elseif(!$hasContract)
Cannot Start Onboarding
We're sorry, but there is no contract available for your role at this time.
This could be because:
- You haven't been assigned to an active project yet
- Your role doesn't have a published contract in your project
- Your county is not included in any available contract
Please contact the administrator for more information.
@else
@if($prevContractStatus && in_array($prevContractStatus, ['terminated', 'expired', 'inactive', 'declined']))
@if(!$user->onboarding_status)
@endif
@elseif($prevContractStatus === 'inactive')
Your previous contract is no longer active.
@elseif($prevContractStatus === 'declined')
Your previous contract was declined.
@if($contractSignature?->decline_reason)
Reason: {{ $contractSignature->decline_reason }}
@endif
@endif
@if(!$user->onboarding_status)
@endif
@endif
@if( $hasContract && ( !$prevContractStatus || !in_array($prevContractStatus, ['terminated', 'expired', 'inactive', 'declined'])))
Welcome to the Onboarding Process
This process will guide you through the following steps:
- Personal Information
- Bank Details
- Required Documents
- Policy Agreement
- Contract Signing
@endif
@endsection
@section('styles')
@endsection