@if($type === 'preview')
PREVIEW
@endif
@if($application->personalInformation && $application->personalInformation->photo) @php $photoPath = storage_path('app/public/' . $application->personalInformation->photo); @endphp @if(file_exists($photoPath)) @php $imageInfo = getimagesize($photoPath); $mimeType = $imageInfo['mime'] ?? 'image/jpeg'; $imageData = base64_encode(file_get_contents($photoPath)); @endphp Applicant Photo @else
APPLICANT PHOTO
Photo file not found
Path: {{ $application->personalInformation->photo }}
Please check file location
@endif @else
APPLICANT PHOTO
No photo uploaded
Please upload photo in
Personal Information step
@endif
National Institute of Technology Hamirpur
Himachal Pradesh - 177005
Faculty Recruitment Application {{ $type === 'final' ? '- Final Submission' : '- Preview' }}
Application No: {{ $application->application_number }}
Application Overview
Application Number {{ $application->application_number }}
Position Applied For {{ $application->advertisement->title ?? 'N/A' }}
Department {{ $application->advertisement->department->name ?? 'N/A' }}
Advertisement Number {{ $application->advertisement->advertisement_number ?? 'N/A' }}
Application Status {{ ucfirst($application->status) }}
Submission Date {{ $application->submitted_at ? $application->submitted_at->format('F d, Y h:i A') : 'Not Submitted' }}
Generated On {{ now()->format('F d, Y h:i A') }}
@if($application->personalInformation)
Step 1: Personal Information
@include('applicant.applications.pdf.sections.personal_information', ['data' => $application->personalInformation])
@endif @if($application->educationQualifications && $application->educationQualifications->count() > 0)
Step 2: Education Qualifications
@include('applicant.applications.pdf.sections.education_qualification', ['data' => $application->educationQualifications])
@endif @if($application->experiences && $application->experiences->count() > 0)
Step 3: Experience
@include('applicant.applications.pdf.sections.experience', ['data' => $application->experiences])
@endif @if($application->experienceSummary)
Step 4: Experience Summary
@include('applicant.applications.pdf.sections.experience_summary', ['data' => $application->experienceSummary])
@endif @if($application->subjectsTaught && $application->subjectsTaught->count() > 0)
Step 5: Subjects Taught
@include('applicant.applications.pdf.sections.subjects_taught', [ 'data' => [ 'taught' => $application->subjectsTaught->where('category', 'taught'), 'willing_to_teach' => $application->subjectsTaught->where('category', 'willing_to_teach') ] ])
@endif @if(($application->rdProjects && $application->rdProjects->count() > 0) || ($application->patentsGranted && $application->patentsGranted->count() > 0))
Step 6: Research Projects and Patents
@include('applicant.applications.pdf.sections.d1_research_patents', [ 'data' => [ 'research_projects' => $application->rdProjects, 'patents' => $application->patentsGranted ] ])
@endif @if($application->consultancyProjects && $application->consultancyProjects->count() > 0)
Step 7: Consultancy Projects
@include('applicant.applications.pdf.sections.d2_consultancy', ['data' => $application->consultancyProjects])
@endif @if($application->phdSupervisions && $application->phdSupervisions->count() > 0)
Step 8: PhD Supervisions
@include('applicant.applications.pdf.sections.d3_phd_supervision', ['data' => $application->phdSupervisions])
@endif @if($application->journalPapers && $application->journalPapers->count() > 0)
Step 9: Journal Papers
@include('applicant.applications.pdf.sections.d4_journal_papers', ['data' => $application->journalPapers])
@elseif($application->journalPapers)
Step 9: Journal Papers
No journal papers added (Count: {{ $application->journalPapers->count() }})
@endif @if($application->conferencePapers && $application->conferencePapers->count() > 0)
Step 10: Conference Papers
@include('applicant.applications.pdf.sections.d5_conference_papers', ['data' => $application->conferencePapers])
@elseif($application->conferencePapers)
Step 10: Conference Papers
No conference papers added (Count: {{ $application->conferencePapers->count() }})
@endif @if($application->administrativeResponsibilities && $application->administrativeResponsibilities->count() > 0)
Step 11: Administrative Responsibilities
@include('applicant.applications.pdf.sections.fallback_display', ['data' => $application->administrativeResponsibilities])
@endif @if($application->otherResponsibilities && $application->otherResponsibilities->count() > 0)
Step 12: Other Responsibilities
@include('applicant.applications.pdf.sections.fallback_display', ['data' => $application->otherResponsibilities])
@endif @if($application->chairmanConveners && $application->chairmanConveners->count() > 0)
Step 13: Chairman/Convener
@include('applicant.applications.pdf.sections.fallback_display', ['data' => $application->chairmanConveners])
@endif @if($application->departmentalActivities && $application->departmentalActivities->count() > 0)
Step 14: Departmental Activities
@include('applicant.applications.pdf.sections.fallback_display', ['data' => $application->departmentalActivities])
@endif @if($application->workshopFdps && $application->workshopFdps->count() > 0)
Step 15: Workshop/FDP
@include('applicant.applications.pdf.sections.fallback_display', ['data' => $application->workshopFdps])
@endif @if($application->nationalPrograms && $application->nationalPrograms->count() > 0)
Step 16: National Programs
@include('applicant.applications.pdf.sections.fallback_display', ['data' => $application->nationalPrograms])
@endif @if($application->conferences && $application->conferences->count() > 0)
Step 17: Conferences
@include('applicant.applications.pdf.sections.fallback_display', ['data' => $application->conferences])
@endif @if($application->serviceLengths && $application->serviceLengths->count() > 0)
Step 18: Service Length
@include('applicant.applications.pdf.sections.fallback_display', ['data' => $application->serviceLengths])
@endif @if($application->labEstablishments && $application->labEstablishments->count() > 0)
Step 19: Lab Establishment
@include('applicant.applications.pdf.sections.fallback_display', ['data' => $application->labEstablishments])
@endif @if($application->theoryTeachings && $application->theoryTeachings->count() > 0)
Step 20: Theory Teaching
@include('applicant.applications.pdf.sections.fallback_display', ['data' => $application->theoryTeachings])
@endif @if($application->pgDissertations && $application->pgDissertations->count() > 0)
Step 21: PG Dissertations
@include('applicant.applications.pdf.sections.fallback_display', ['data' => $application->pgDissertations])
@endif @if($application->ugDissertations && $application->ugDissertations->count() > 0)
Step 22: UG Dissertations
@include('applicant.applications.pdf.sections.fallback_display', ['data' => $application->ugDissertations])
@endif @if($application->internationalTextbooks && $application->internationalTextbooks->count() > 0)
Step 23: International Textbooks
@include('applicant.applications.pdf.sections.fallback_display', ['data' => $application->internationalTextbooks])
@endif @if($application->nationalTextbooks && $application->nationalTextbooks->count() > 0)
Step 24: National Textbooks
@include('applicant.applications.pdf.sections.fallback_display', ['data' => $application->nationalTextbooks])
@endif @if($application->outreachActivities && $application->outreachActivities->count() > 0)
Step 25: Outreach Activities
@include('applicant.applications.pdf.sections.fallback_display', ['data' => $application->outreachActivities])
@endif @if($application->professionalMemberships && $application->professionalMemberships->count() > 0)
Step 26: Professional Memberships
@include('applicant.applications.pdf.sections.fallback_display', ['data' => $application->professionalMemberships])
@endif @if($application->placementRecords && $application->placementRecords->count() > 0)
Step 27: Placement Records
@include('applicant.applications.pdf.sections.fallback_display', ['data' => $application->placementRecords])
@endif @if($application->creditPointSummaries && $application->creditPointSummaries->count() > 0)
Step 28: Credit Point Summary
@include('applicant.applications.pdf.sections.d_s_credit_point_summary', ['data' => $application->creditPointSummaries])
@elseif($application->creditPointSummaries)
Step 28: Credit Point Summary
No credit point summary available (Count: {{ $application->creditPointSummaries->count() }})
@else
Step 28: Credit Point Summary
Credit Point Summary relationship not loaded
@endif @if(($application->referees && $application->referees->count() > 0) || $application->visionStatement)
Step 29: Referees and Vision Statement
@include('applicant.applications.pdf.sections.referees', [ 'data' => [ 'referees' => $application->referees, 'vision_statement' => $application->visionStatement ] ])
@endif @if($application->offlineFormDocument || ($application->supportingDocuments && $application->supportingDocuments->count() > 0))
Step 30: Document Upload
@if($application->offlineFormDocument) @endif @if($application->supportingDocuments && $application->supportingDocuments->count() > 0) @endif
Offline Form Document {{ $application->offlineFormDocument->document_name ?? 'Uploaded' }}
Supporting Documents {{ $application->supportingDocuments->count() }} document(s) uploaded
@endif @if($type === 'preview')
Debug Information (Preview Only)
Journal Papers Count {{ $application->journalPapers ? $application->journalPapers->count() : 'Not loaded' }}
Conference Papers Count {{ $application->conferencePapers ? $application->conferencePapers->count() : 'Not loaded' }}
Credit Point Summaries Count {{ $application->creditPointSummaries ? $application->creditPointSummaries->count() : 'Not loaded' }}
Education Qualifications Count {{ $application->educationQualifications ? $application->educationQualifications->count() : 'Not loaded' }}
Experiences Count {{ $application->experiences ? $application->experiences->count() : 'Not loaded' }}
@endif
Fee Payment Status
@if($application->isFeeExempted()) @elseif($application->feePayment) @else @endif
Fee Status EXEMPTED
Category {{ $application->personalInformation->category ?? 'N/A' }}
Exemption Reason Category-based fee exemption
Fee Status PAID
Transaction ID {{ $application->feePayment->transaction_id ?? 'N/A' }}
Amount Paid ₹{{ number_format($application->feePayment->amount ?? 0, 2) }}
Payment Date {{ $application->feePayment->payment_date ? \Carbon\Carbon::parse($application->feePayment->payment_date)->format('F d, Y') : 'N/A' }}
Payment Method {{ $application->feePayment->payment_method ?? 'Online' }}
Fee Status PENDING
@if($type === 'final' && $application->status === 'submitted' && $application->undertaking_accepted_at)
Undertaking Declaration
UNDERTAKING

I, {{ $application->personalInformation->first_name }} {{ $application->personalInformation->last_name }}, hereby declare and undertake that:

  1. Accuracy of Information: All the information provided in this application form is true, complete, and accurate to the best of my knowledge and belief.
  2. Document Authenticity: All documents submitted along with this application are genuine and authentic.
  3. Eligibility Criteria: I meet all the eligibility criteria as specified in the advertisement for the post of {{ $application->advertisement->title }}.
  4. Terms and Conditions: I agree to abide by all the terms and conditions mentioned in the advertisement and the rules of NITH.
  5. Background Verification: I consent to background verification of my credentials by NITH.
  6. Communication: I agree to receive all communications through the provided contact details.
  7. Final Decision: I understand that the decision of NITH regarding my application will be final and binding.
  8. Service Conditions: If selected, I agree to serve NITH for the minimum period as specified in the service rules.
  9. Medical Fitness: I declare that I am medically fit for the position applied for.
  10. Legal Compliance: I have not been convicted of any criminal offense and there are no pending criminal cases against me.

This undertaking was accepted on: {{ $application->undertaking_accepted_at->format('F d, Y \a\t h:i A') }}

@endif
Declaration and Signature

I hereby declare that all the information provided in this application is true and correct to the best of my knowledge and belief. I understand that any false information may lead to the rejection of my application or cancellation of my appointment if selected.

Place {{ $application->personalInformation->city ?? 'N/A' }}
Date {{ now()->format('F d, Y') }}
Applicant Name {{ $application->personalInformation ? $application->personalInformation->first_name . ' ' . $application->personalInformation->last_name : 'N/A' }}
@if($application->personalInformation && $application->personalInformation->signature) @php $signaturePath = storage_path('app/public/' . $application->personalInformation->signature); @endphp @if(file_exists($signaturePath)) @php $sigImageInfo = getimagesize($signaturePath); $sigMimeType = $sigImageInfo['mime'] ?? 'image/jpeg'; $sigImageData = base64_encode(file_get_contents($signaturePath)); @endphp Applicant Signature @else
APPLICANT SIGNATURE
Signature file not found
Path: {{ $application->personalInformation->signature }}
@endif @else
APPLICANT SIGNATURE
No signature uploaded
@endif
Signature of Applicant