@extends('layouts.applicant.applicant') @section('head') @endsection @section('title', 'D20 - Outreach Activities') @section('breadcrumbs') @endsection @section('content')

Significant Outreach Activities

Application: {{ $application->application_number }}

@php $previousStep = $currentStep->getPreviousStep(); @endphp @if($previousStep) Previous Step @endif
@include('applicant.applications.partials.progress-indicator') @php $outreachActivities = $application->outreachActivities()->orderBy('serial_no')->get(); $totalCreditPoints = $outreachActivities->sum('credit_points'); $evaluationPoints = min($totalCreditPoints, 4); // Max 4 for evaluation $totalActivities = $outreachActivities->count(); $recentActivities = $outreachActivities->where('is_recent', true)->count(); $totalDuration = $outreachActivities->sum('duration_in_days'); $activitiesByYear = $outreachActivities->groupBy(function($activity) { return $activity->from_date->year; })->map->count(); @endphp
No Outreach Activities Declaration
no_outreach_activities ? 'checked' : '' }} @if(!$application->isEditable()) disabled @endif onchange="toggleNoOutreachActivities()">
Check this box if you have not participated in any significant outreach activities. This step is non-mandatory to fill.
@if(!$application->no_outreach_activities)
{{ number_format($totalCreditPoints, 2) }}
Total Credit Points
{{ number_format($evaluationPoints, 2) }}
Maximum Credit Points (Max 4)
{{ $totalActivities }}
Total Activities
{{ $recentActivities }}
Recent (Last 2 Years)
Credit Points Calculation
Credit Points per Activity: 1 Point
Total Activities: {{ $totalActivities }}

Important:
  • Maximum 4 credit points can be used for further calculation
  • 1 credit point per significant outreach activity
  • Include community service, educational outreach, social welfare programs
  • This step is non-mandatory to fill
  • Upload certificates or proof documents for verification
Outreach Activity Details
@if($application->isEditable()) @endif
@if($outreachActivities->count() > 0)
@if($application->isEditable()) @endif @foreach($outreachActivities as $activity) @if($application->isEditable()) @endif @endforeach
Sr. No Activity Details Duration Date Range Credit Points Proof DocumentActions
{{ $activity->serial_no }} {{ $activity->details_short }} @if($activity->is_recent) Recent @endif {{ $activity->duration_display }} {{ $activity->duration_in_days }} days {{ $activity->date_range }} {{ number_format($activity->credit_points, 2) }} @if($activity->hasDocument()) @else No Document @endif
Activity Summary

Total Activities: {{ $totalActivities }}

Recent (2 years): {{ $recentActivities }}

Total Duration: {{ $totalDuration }} days

Total Credit Points: {{ number_format($totalCreditPoints, 2) }}

Evaluation

Evaluation Points: {{ number_format($evaluationPoints, 2) }} / 4

@if($totalCreditPoints > 4)

Note: Total exceeds 4, capped at 4 for evaluation

@else

Status: Within evaluation limit

@endif
@if($activitiesByYear->count() > 0)
Year-wise Distribution
@foreach($activitiesByYear->sortKeysDesc()->take(6) as $year => $count)
{{ $count }}
{{ $year }}
@endforeach
@endif @else
No Outreach Activities Added

Add your significant outreach activities to earn credit points.

@if($application->isEditable()) @endif
@endif
@endif
@if($previousStep) Previous: {{ $previousStep->name }} @endif
@php $nextStep = $currentStep->getNextStep(); @endphp @if($nextStep) Next: {{ $nextStep->name }} @endif
@if($application->isEditable()) @endif @endsection