@extends('layouts.training_centre_layout') @section('content')
{{-- STEP 1: TRAINER INFO --}}

Trainer Information

Add trainer details and upload certificates

@if(isset($trainerDetails) && $trainerDetails->count() > 0)
@if ($latest_application_status == null)
@csrf
@elseif ($latest_application_status == 'INITIATED') @endif
@endif
{{-- STEP 2: INFRASTRUCTURE --}}
@csrf

Infrastructure

Provide details about training infrastructure

{{-- Number of Classrooms --}}
{{-- Classroom Size Confirmation --}}
@php $classroomConfirmation = isset($infrastructure->classroom_size_confirmation) ? $infrastructure->classroom_size_confirmation : ''; @endphp
{{-- Number of Demonstration Lab --}}
{{-- Lab Size Confirmation --}}
@php $labConfirmation = isset($infrastructure->laboratory_size_confirmation) ? $infrastructure->laboratory_size_confirmation : ''; @endphp
{{-- Total Area --}}
{{-- Available Facilities --}}
@php $facilities = $facilities ?? []; $selectedFacilities = isset($selectedFacilities) ? $selectedFacilities : []; @endphp @foreach ($facilities as $facility)
id, $selectedFacilities) ? 'checked' : '' }}>
@endforeach
{{-- STEP 3: TRAINING PROGRAMS --}}
@csrf

Training Program(s)

Select the training program(s) you want to offer

@php $selected = old('programs', $selectedProgramIds ?? []); @endphp @foreach($trainingPrograms as $program) @endforeach
@csrf

Documents & Declarations

Upload required documents and agree to terms

@php $docs = [ 'registration_certificate' => ['label' => 'Rent Agreement/Address Proof.', 'type' => 'pdf'], 'utility_bill' => ['label' => 'Utility Bill (Electric, Water)', 'type' => 'pdf'], 'noc_certificate' => ['label' => 'NOC from Local Authority (Optional)', 'type' => 'pdf'], 'building_photos' => ['label' => 'Building Photos', 'type' => 'image'], 'classroom_photos' => ['label' => 'Classroom Photos', 'type' => 'image'], 'lab_photos' => ['label' => 'Laboratory Photos', 'type' => 'image'], 'cctv_photo' => ['label' => 'CCTV Control Room Photo', 'type' => 'image'], 'staff_certificates' => ['label' => 'Staff Qualification Certificates', 'type' => 'pdf'], 'washroom_photos' => ['label' => 'Washroom Photos', 'type' => 'image'], 'classroom_video' => ['label' => 'Classroom Video', 'type' => 'video'], 'lab_video' => ['label' => 'Laboratory Video', 'type' => 'video'], ]; @endphp @foreach($docs as $field => $doc) @php $label = $doc['label']; $type = $doc['type']; $accept = $type === 'pdf' ? '.pdf' : ($type === 'video' ? '.mp4' : '.jpg,.jpeg,.png'); $existingFiles = $uploadedFiles[$label] ?? []; $hasFiles = count($existingFiles) > 0; @endphp
{{ $hasFiles ? count($existingFiles) . ' file(s) uploaded' : 'No file selected' }} @if($hasFiles)
@foreach($existingFiles as $file) View @endforeach
@endif
@endforeach
{{-- Declarations --}}

Declarations

Please confirm all declarations to proceed to submission.
@foreach($declarations as $column => $value) @php $checked = old($column, $value) ? 'checked' : ''; @endphp
@endforeach
{{-- The Progress Bar --}}
@endsection @section('pages-scripts') @endsection