@php
$companyName = 'Company Name';
$cinLabel = 'Registration or Incorporation details of the applicant, (CIN, PAN, registration number, GSTIN – as per Applicability)';
$companyPostalAddress = 'Address of the applicant';
@endphp
(a) Name of the applicanti
{{ $user->name ?? '' }}
(b) Nature or type of applicant (Authorised entity2 or Company3 or Society or partnership firm or Indian national or research and development institution recognised by Department of Science and Technology, Government of India)
{{ $user->roles[0]->title_desc ?? '' }}
@php
$typeLabels = [
'C' => ['label' => $cinLabel, 'field' => 'cin', 'pan_field' => 'pan', 'gst_field' => 'gst'],
'PSU' => ['label' => $cinLabel, 'field' => 'cin', 'pan_field' => 'pan', 'gst_field' => 'gst'],
'I' => ['label' => $cinLabel, 'field' => 'cin', 'pan_field' => 'pan', 'gst_field' => 'gst'],
'L' => ['label' => 'LLPIN:', 'field' => 'cin', 'pan_field' => 'pan', 'gst_field' => 'gst'],
'F' => ['label' => 'FCPR:', 'field' => 'cin', 'pan_field' => 'pan', 'gst_field' => 'gst'],
'IE' => ['label' => 'PAN:', 'field' => 'pan', 'pan_field' => 'pan', 'gst_field' => 'gst'],
'IF' => ['label' => 'Aadhaar:', 'field' => 'aadhaar', 'pan_field' => 'pan', 'gst_field' => 'gst'],
'IH' => ['label' => 'Passport Number:', 'field' => 'passport_no', 'pan_field' => 'pan', 'gst_field' => 'gst'],
'NGO' => ['label' => 'NGO Reg. Number:', 'field' => 'cin', 'pan_field' => 'pan', 'gst_field' => 'gst'],
];
$userType = $user->user_type ?? null;
$config = $typeLabels[$userType] ?? null;
@endphp
@if ($config)
(e) {{ $config['label'] }}
CIN:   {{ $user->{$config['field']} ?? '' }}
PAN:   {{ $user->{$config['pan_field']} ?? '' }}
GSTIN:   {{ $user->{$config['gst_field']} ?? '' }}
@endif
@php
if($isServiceSelected){
$requiredDocs = ['ULAUDCR'];
if($readOnly['reg_details']) {
$is_delete=false;
}else{
$is_delete=true;
}
}else{
$requiredDocs = ['ULAUDCT'];
if($readOnly['reg_details_rs']) {
$is_delete=false;
}else{
$is_delete=true;
}
}
@endphp
@include('layout.partials.files')