@extends('layouts.app') @section('content')
← Back

{{ $employer->company_name }}

{{ $employer->industry ?? 'Healthcare' }}

@if(Auth::check()) Write a Review @else Sign in to Rate @endif

Overall Rating

{{ $stats['average_overall'] }}

Based on {{ $stats['total_ratings'] }} rating{{ $stats['total_ratings'] !== 1 ? 's' : '' }}

Would Recommend

{{ $stats['would_recommend_percent'] }}%

of healthcare workers recommend

Verified Reviews

{{ $stats['verified_count'] }}

from verified employees

Rating Breakdown

@php $dimensions = [ 'Overall Experience' => $stats['average_overall'], 'Fairness & Ethics' => $stats['average_fairness'], 'Communication' => $stats['average_communication'], 'Working Conditions' => $stats['average_conditions'], 'Support & Development' => $stats['average_support'], ]; @endphp @foreach($dimensions as $label => $score)

{{ $label }}

{{ $score }}/5

@endforeach

Reviews

@if($ratings->isEmpty())

No reviews yet. Be the first to share your experience!

@else
@foreach($ratings as $rating)
{{ substr($rating->nurse->name, 0, 1) }}

{{ $rating->nurse->name }}

{{ $rating->created_at->diffForHumans() }}

@if($rating->is_verified_interaction) Verified @endif
@if(Auth::check() && (Auth::user()->id === $rating->nurse_id || Auth::user()->isAdmin))
@csrf @method('DELETE')
@endif

Overall

{{ $rating->overall_score }}/5

Fairness

{{ $rating->fairness_score }}/5

Communication

{{ $rating->communication_score }}/5

Conditions

{{ $rating->conditions_score }}/5

Support

{{ $rating->support_score }}/5
@if($rating->comment)

{{ $rating->comment }}

@endif @if($rating->would_recommend)
I would recommend this employer
@endif
@endforeach
{{ $ratings->links() }}
@endif
@endsection