DRP Post-Drive Survey Performance

Performance insights across blood-drive DRPs

{{-- Summary Cards --}}

Responses

{{ number_format($surveyInsights['total_surveys'] ?? 0) }}

Average Score

{{ number_format($surveyInsights['average_nps'] ?? 0, 2) }}

Response Rate

{{ number_format($surveyInsights['response_rate'] ?? 0, 1) }}%

{{-- Insights --}}
{{-- Strengths --}}

Strengths

@if(!empty($surveyInsights['positive_themes']))
    @foreach($surveyInsights['positive_themes'] as $theme)
  • {{ Str::limit($theme, 50) }}
  • @endforeach
@else

No strengths identified yet.

@endif
{{-- Improvement Areas --}}

Improvement Areas

@if(!empty($surveyInsights['improvement_areas']))
    @foreach($surveyInsights['improvement_areas'] as $area)
  • {{ Str::limit($area, 48) }}
  • @endforeach
@else

No improvement areas identified.

@endif
{{-- Coaching --}}

Coaching Interventions

@if(!empty($surveyInsights['coaching_practitioners']))

{{ implode(', ', $surveyInsights['coaching_practitioners']) }}

@else

No coaching interventions required.

@endif
{{-- DRP Cards --}}

DRP Performances

@if(empty($drpPerformances))
{{-- Icon --}}
{{-- Title --}}

No Survey Insights Available

{{-- Description --}}

We couldn't find any completed post-drive survey responses for the selected period. Survey insights will appear here once responses have been submitted and processed.

{{-- Information Box --}}

Possible reasons

  • • No surveys have been completed yet
  • • The selected filters returned no results
  • • Survey data is still being processed
{{-- Optional Stats Style Badge --}}
Waiting for survey data
@else
@foreach($drpPerformances as $drp) @php $status = $drp['status'] ?? 'coaching'; $style = $statusStyles[$status] ?? $statusStyles['coaching']; $pct = fn($score) => min(100, ($score / 5) * 100); @endphp
{{-- Header --}}

{{ $drp['drp_name'] }}

{{-- Status Badge --}} {{ $style['label'] }}

{{ $drp['branch'] }} · {{ $drp['zone'] }}

HDR: {{ $drp['hdr_manager'] }}

{{-- Score --}}
{{ number_format($drp['average_rating'] ?? 0, 2) }} 1 survey
{{-- Ratings --}} @if(!empty($drp['ratings']))
    @foreach($drp['ratings'] as $label => $score)
  • {{ $label }}
    {{ number_format($score, 1) }}
  • @endforeach
@else

No question-level data available.

@endif {{-- Insight --}}
@endforeach
@endif