@php $lasthistory = json_decode($lasthistories); $antecedants_data = json_decode($lasthistory->antecedants_data); $candidate_data = json_decode($lasthistory->candidate_data); $candidate_document_number = ''; if(isset($candidate_data->document_number)){ $candidate_document_number = $candidate_data->document_number; } $candidate_name_as_per_document = ''; if(isset($candidate_data->name_as_per_document)){ $candidate_name_as_per_document = $candidate_data->name_as_per_document; } if(isset($candidate_data->document_front_file)){ $document_front_file = $candidate_data->document_front_file; } else { $document_front_file = ''; } if(isset($antecedants_data->verification_date)){ $verification_date = $antecedants_data->verification_date; } else { $verification_date = ''; } if(isset($antecedants_data->severity)){ $severity = $antecedants_data->severity; } else { $severity = ''; } if(isset($antecedants_data->conclusion)){ $conclusion = $antecedants_data->conclusion; } else { $conclusion = ''; } $candidate_name = ''; if(isset($antecedants_data->candidate_name->value)){ $candidate_name = $antecedants_data->candidate_name->value; } if(isset($antecedants_data->candidate_name->match_status)){ $candidate_match_status = $antecedants_data->candidate_name->match_status; } else { $candidate_match_status = 'MATCHED'; } if(isset($antecedants_data->pan_number->value)){ $pan_number = $antecedants_data->pan_number->value; } else { $pan_number = ''; } if(isset($antecedants_data->document_number->match_status)){ $document_number_match_status = $antecedants_data->document_number->match_status; } else { $document_number_match_status = 'MATCHED'; } if(isset($antecedants_data->pan_status)){ $pan_status = $antecedants_data->pan_status; } else { $pan_status = ''; } if(isset($antecedants_data->severity_messages_id)){ $severity_messages_id = $antecedants_data->severity_messages_id; } else { $severity_messages_id = ''; } @endphp Verification Date * Candidate Name * {{ $candidate_name_as_per_document }}
PAN Number * {{ $candidate_document_number }}
PAN Status * Severity * @if($severity_messages_id != '') @endif Remarks * @if($taskhistorydocs) @foreach($taskhistorydocs as $key => $files) Attachnment {{ $key + 1 }} {{ $files->document_name }} Delete @endforeach @endif Attachments