{{-- Signature --}}
Signature
@if ($interview->signature && file_exists(public_path('storage/' . $interview->signature)))
@php
$ext = strtolower(pathinfo($interview->signature, PATHINFO_EXTENSION));
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Aadhaar Card Front --}}
Aadhaar Card Front
@if ($interview->aadhar_front && file_exists(public_path('storage/' . $interview->aadhar_front)))
@php
$ext = strtolower(pathinfo($interview->aadhar_front, PATHINFO_EXTENSION));
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Aadhaar Card Back --}}
Aadhar Card Back
@if ($interview->aadhar_back && file_exists(public_path('storage/' . $interview->aadhar_back)))
@php
$ext = strtolower(pathinfo($interview->aadhar_back, PATHINFO_EXTENSION));
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Pan Card --}}
Pan Card
@if ($interview->pan_card && file_exists(public_path('storage/' . $interview->pan_card)))
@php
$ext = strtolower(pathinfo($interview->pan_card, PATHINFO_EXTENSION));
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Address Proof --}}
Address Proof
@if ($interview->address_proof && file_exists(public_path('storage/' . $interview->address_proof)))
@php
$ext = strtolower(pathinfo($interview->address_proof, PATHINFO_EXTENSION));
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Recent Passport Size Photo --}}
Passport Size Photo
@if (isset($interview->employee->loginUser->profile_photo_path) &&
!empty($interview->employee->loginUser->profile_photo_path) &&
file_exists(public_path('storage/' . $interview->employee->loginUser->profile_photo_path)))
 }})
@else
Not uploaded
@endif
{{-- Driving License --}}
Driving License
@if ($interview->driving_license && file_exists(public_path('storage/' . $interview->driving_license)))
@php
$ext = strtolower(
pathinfo($interview->driving_license, PATHINFO_EXTENSION),
);
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Last ITR 1 --}}
Last ITR 1
@if ($interview->last_itr_1 && file_exists(public_path('storage/' . $interview->last_itr_1)))
@php
$ext = strtolower(pathinfo($interview->last_itr_1, PATHINFO_EXTENSION));
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Last ITR 2 --}}
Last ITR 2
@if ($interview->last_itr_2 && file_exists(public_path('storage/' . $interview->last_itr_2)))
@php
$ext = strtolower(pathinfo($interview->last_itr_2, PATHINFO_EXTENSION));
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Last ITR 3 --}}
Last ITR 3
@if ($interview->last_itr_3 && file_exists(public_path('storage/' . $interview->last_itr_3)))
@php
$ext = strtolower(pathinfo($interview->last_itr_3, PATHINFO_EXTENSION));
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- 10th Marksheet --}}
10th Marksheet
@if ($interview->ten_marksheet && file_exists(public_path('storage/' . $interview->ten_marksheet)))
@php
$ext = strtolower(pathinfo($interview->ten_marksheet, PATHINFO_EXTENSION));
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- 12th Marksheet --}}
12th Marksheet
@if ($interview->twelve_marksheet && file_exists(public_path('storage/' . $interview->twelve_marksheet)))
@php
$ext = strtolower(
pathinfo($interview->twelve_marksheet, PATHINFO_EXTENSION),
);
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Graduation Certificate --}}
Graduation Certificate
@if ($interview->graduation_certi && file_exists(public_path('storage/' . $interview->graduation_certi)))
@php
$ext = strtolower(
pathinfo($interview->graduation_certi, PATHINFO_EXTENSION),
);
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Post-Graduation Certificate --}}
Post-Graduation Certificate
@if ($interview->p_graduation_certi && file_exists(public_path('storage/' . $interview->p_graduation_certi)))
@php
$ext = strtolower(
pathinfo($interview->p_graduation_certi, PATHINFO_EXTENSION),
);
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Professional / Additional Certificate --}}
Additional Certificate
@if ($interview->additional_certi && file_exists(public_path('storage/' . $interview->additional_certi)))
@php
$ext = strtolower(
pathinfo($interview->additional_certi, PATHINFO_EXTENSION),
);
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Relieving Letter --}}
Relieving Letter
@if ($interview->relieving_letter && file_exists(public_path('storage/' . $interview->relieving_letter)))
@php
$ext = strtolower(
pathinfo($interview->relieving_letter, PATHINFO_EXTENSION),
);
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Experience Letter --}}
Experience Letter
@if ($interview->experience_letter && file_exists(public_path('storage/' . $interview->experience_letter)))
@php
$ext = strtolower(
pathinfo($interview->experience_letter, PATHINFO_EXTENSION),
);
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Resume --}}
Resume
@if ($interview->resume && file_exists(public_path('storage/' . $interview->resume)))
@php
$ext = strtolower(pathinfo($interview->resume, PATHINFO_EXTENSION));
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Signed Appointment --}}
Signed Appointment
@if ($interview->signed_appointment && file_exists(public_path('storage/' . $interview->signed_appointment)))
@php
$ext = strtolower(
pathinfo($interview->signed_appointment, PATHINFO_EXTENSION),
);
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Signed Offer Letter --}}
Signed Offer Letter
@if ($interview->signed_offer_letter && file_exists(public_path('storage/' . $interview->signed_offer_letter)))
@php
$ext = strtolower(
pathinfo($interview->signed_offer_letter, PATHINFO_EXTENSION),
);
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Gratuity Nomination Form --}}
Gratuity Nomination Form
@if ($interview->gratuity_nomination_form && file_exists(public_path('storage/' . $interview->gratuity_nomination_form)))
@php
$ext = strtolower(
pathinfo($interview->gratuity_nomination_form, PATHINFO_EXTENSION),
);
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Last 3 Month Salary Slip --}}
Last 3 Month Salary Slip
@if ($interview->last_3_month_salary && file_exists(public_path('storage/' . $interview->last_3_month_salary)))
@php
$ext = strtolower(
pathinfo($interview->last_3_month_salary, PATHINFO_EXTENSION),
);
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Last 3 Month Bank Statement --}}
Last 3 Month Bank Statement
@if ($interview->bank_statement && file_exists(public_path('storage/' . $interview->bank_statement)))
@php
$ext = strtolower(pathinfo($interview->bank_statement, PATHINFO_EXTENSION));
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Last Resignation Acceptance --}}
Last Resignation Acceptance
@if ($interview->resign_acceptance && file_exists(public_path('storage/' . $interview->resign_acceptance)))
@php
$ext = strtolower(
pathinfo($interview->resign_acceptance, PATHINFO_EXTENSION),
);
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif
{{-- Cancelled Cheque / Bank Passbook --}}
Cancelled Cheque / Bank Passbook
@if ($interview->cancelled_cheque && file_exists(public_path('storage/' . $interview->cancelled_cheque)))
@php
$ext = strtolower(
pathinfo($interview->cancelled_cheque, PATHINFO_EXTENSION),
);
$isImg = ['jpeg', 'png', 'jpg'];
@endphp
@if (in_array($ext, $isImg))
 }})
@else
@endif
@else
Not uploaded
@endif