@extends('layouts.applicant.applicant') @section('title', 'D14 - Establishment of New Lab') @section('breadcrumbs') @endsection @section('content')

Establishment of New Lab

Application: {{ $application->application_number }}

@php $previousStep = $currentStep->getPreviousStep(); @endphp @if($previousStep) Previous Step @endif
@include('applicant.applications.partials.progress-indicator') @php $labEstablishments = $application->labEstablishments()->orderBy('serial_no')->get(); $totalCreditPoints = $labEstablishments->sum('credit_points'); $evaluationPoints = min($totalCreditPoints, 4); // Max 4 for evaluation $totalLabs = $labEstablishments->count(); @endphp
No Lab Setup Declaration
no_lab_setup ? 'checked' : '' }} @if(!$application->isEditable()) disabled @endif onchange="toggleNoLabSetup()">
Check this box if you have not established any new laboratory. This step is non-mandatory to fill.
@if(!$application->no_lab_setup)
{{ number_format($totalCreditPoints, 2) }}
Total Credit Points
{{ number_format($evaluationPoints, 2) }}
Maximum Credit Points (Max 4)
{{ $totalLabs }}
Total Labs Established
Credit Points Calculation
Credit Points per Lab: 4 Points
Total Labs: {{ $totalLabs }}

Important:
  • Maximum 4 credit points can be used for further calculation
  • If sum of credit points is more than 4, only 4 will be considered for evaluation
  • Only new laboratory establishments should be included
  • This step is non-mandatory to fill
  • Upload certificates or proof documents for verification
Lab Establishment Details
@if($application->isEditable()) @endif
@if($labEstablishments->count() > 0)
@if($application->isEditable()) @endif @foreach($labEstablishments as $lab) @if($application->isEditable()) @endif @endforeach
Sr. No Lab Name Organization Department Year of Establishment Credit Points Proof DocumentActions
{{ $lab->serial_no }} {{ $lab->lab_name }} {{ $lab->organization }} {{ $lab->department }} {{ $lab->year_of_establishment }} ({{ $lab->lab_age }} years ago) {{ number_format($lab->credit_points, 2) }} @if($lab->hasDocument()) @else No Document @endif
Lab Summary

Total Labs: {{ $totalLabs }}

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
@else
No Lab Establishments Added

Add your new laboratory establishments 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