@extends('layouts.applicant.applicant') @section('head') @endsection @section('title', 'D2 - Consultancy Projects') @section('breadcrumbs') @endsection @section('content')

D2 - Consultancy Project(s) as PI/Co-PI

Application: {{ $application->application_number }}

@php $previousStep = $currentStep->getPreviousStep(); @endphp @if($previousStep) Previous Step @endif
@include('applicant.applications.partials.progress-indicator') @php $consultancyProjects = $application->consultancyProjects()->orderBy('serial_no')->get(); $totalCreditPoints = $consultancyProjects->sum('credit_points'); $evaluationPoints = min($totalCreditPoints, 10); // Max 10 for evaluation $isSkipped = $application->skip_d2_consultancy ?? false; @endphp
{{ number_format($totalCreditPoints, 2) }}
Page Total Credit Points
{{ number_format($evaluationPoints, 2) }}
Total Used for Evaluation (Max 10)
Skip Step Declaration
isEditable()) disabled @endif onchange="toggleSkipStep('d2-consultancy')">
Check this box if you have never undertaken any consultancy projects as PI or Co-PI.
Credit Points Calculation
Credit Points Formula: 2 points for every complete ₹5 Lakhs
  • ₹10 Lakhs = 4 Credit Points (2 × 2)
  • ₹15 Lakhs = 6 Credit Points (3 × 2)
  • ₹17 Lakhs = 6 Credit Points (only ₹15 Lakhs counted)
  • ₹4 Lakhs = 0 Credit Points (less than ₹5 Lakhs)

Note: Only complete multiples of ₹5 Lakhs are considered. Maximum 10 credit points will be used for evaluation.
Consultancy Projects
@if($application->isEditable() && !$isSkipped) @endif
@if($consultancyProjects->count() > 0)
@if($application->isEditable()) @endif @foreach($consultancyProjects as $project) @if($application->isEditable()) @endif @endforeach
Sr. No Sponsoring Agency Project Title Duration Status Consultancy Amount Amount (Lakhs) Credit Points CertificateActions
{{ $project->serial_no }} {{ $project->sponsoring_agency }} {{ $project->project_title }} {{ $project->duration }} {{ $project->project_status ?? 'Completed' }} {{ $project->formatted_amount }} {{ number_format($project->amount_in_lakhs, 2) }} L {{ number_format($project->credit_points, 2) }} @if($project->hasDocument()) @else No Certificate @endif
Summary

Total Projects: {{ $consultancyProjects->count() }}

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

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

Breakdown
@php $totalFiveLakhUnits = 0; $zeroPointProjects = 0; foreach($consultancyProjects as $project) { $units = floor($project->consultancy_amount / 500000); $totalFiveLakhUnits += $units; if ($units == 0) { $zeroPointProjects++; } } @endphp

Total 5-Lakh Units: {{ $totalFiveLakhUnits }} units

Points from Units: {{ $totalFiveLakhUnits * 2 }} points

Projects < ₹5 Lakhs: {{ $zeroPointProjects }} (0 points)

@else
No Consultancy Projects Added

Add your consultancy projects as PI or Co-PI to earn credit points.

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