{{ __('Employee Dashboard') }}

Welcome, {{ Auth::user()->fname }}!

Employee ID: {{ $employee->employee_id }}

Status: {{ ucfirst($employee->status) }}

If you need immediate medical assistance, please call your healthcare provider or emergency services.

Quick Actions

View Medical Records Request Medication Refill Manage Appointments Schedule New Appointment {{-- Message Provider --}} Update Health Information
@if($latestMeasurement->whereNotNull() && $latestMeasurement->isNotEmpty())

Health Summary

Latest Height
{{ $latestMeasurement->formatted_height ?? 'N/A' }}
Last updated: {{ $latestMeasurement->measured_at->format('M d, Y') ?? 'Never' }}
Latest Weight
{{ $latestMeasurement->weight ?? 'N/A' }} kg
Last updated: {{ $latestMeasurement->measured_at->format('M d, Y') ?? 'Never' }}
Active Conditions
{{ $activeConditionsCount ?? 0 }}
View details
@endif

Upcoming Appointments

Schedule New
@if($appointments->count() > 0)
@foreach($appointments->take(2) as $appointment)

{{ \Carbon\Carbon::parse($appointment->scheduled_at)->format('M d, Y') }}

{{ \Carbon\Carbon::parse($appointment->scheduled_at)->format('h:i A') }}

@php $statusColor = match($appointment->status) { 'confirmed' => 'success', 'cancelled' => 'error', default => 'warning' }; @endphp {{ ucfirst($appointment->status) }}

Type: {{ $appointment->type }}

Details @if($appointment->status !== 'cancelled') Reschedule @endif
@endforeach
@if($appointments->count() > 2)
View All Appointments ({{ $appointments->count() }})
@endif @else
You don't have any upcoming appointments.
@endif

Current Medications

Request Refill
@if($medications->count() > 0)
@foreach($medications as $medication)
{{ ucfirst($medication->status) }}

{{ $medication->name }}

Dosage: {{ $medication->dosage }}

Instructions: {{ $medication->instructions }}

Refills: {{ $medication->refills_remaining }}

Details Request Refill
@endforeach
@else
You don't have any current medications.
@endif

Recent Prescriptions

@forelse($prescriptions as $prescription) @empty @endforelse
Date Prescription Prescribed By Status Actions
{{ \Carbon\Carbon::parse($prescription->created_at)->format('M d, Y') }} {{ $prescription->medication_name }} {{ $prescription->provider_name }} {{ ucfirst($prescription->status) }} View Details
No prescription history found

Recent Activity

    @forelse($recentActivities as $activity)
  • {{ $activity->created_at->format('M d') }}
    {{ $activity->description }}
  • @empty
    No recent activity to display.
    @endforelse

Your Plan Information

Plan Sponsor

{{ $business->name }}

Contact Email: {{ $business->email }}

Contact Phone: {{ $business->phone }}

Coverage Information

Plan Type: Telemedicine Services

Coverage Start: {{ $employee->created_at->format('M d, Y') }}

Status: {{ ucfirst($employee->status) }}

For questions about your coverage, please contact your HR department.