@php $lasthistory = json_decode($lasthistories); $antecedants_data = json_decode($lasthistory->antecedants_data); $candidate_data = json_decode($lasthistory->candidate_data); if(isset($candidate_data->pan_dob)){ $pan_dob = $candidate_data->pan_dob; } else { $pan_dob = ''; } if(isset($candidate_data->pan_no)){ $pan_no = $candidate_data->pan_no; } else { $pan_no = ''; } if(isset($candidate_data->name_as_per_pan)){ $name_as_per_pan = $candidate_data->name_as_per_pan; } else { $name_as_per_pan = ''; } if(isset($candidate_data->pan_file)){ $pan_file = $candidate_data->pan_file; } else { $pan_file = ''; } if(isset($antecedants_data->verification_date)){ $verification_date = $antecedants_data->verification_date; } else { $verification_date = ''; } if(isset($antecedants_data->verification_time)){ $verification_time = $antecedants_data->verification_time; } else { $verification_time = ''; } if(isset($antecedants_data->severity)){ $severity = $antecedants_data->severity; } else { $severity = ''; } if(isset($antecedants_data->conclusion)){ $conclusion = $antecedants_data->conclusion; } else { $conclusion = ''; } if(isset($antecedants_data->candidate_name->value)){ $candidate_name = $antecedants_data->candidate_name->value; } else { $candidate_name = ''; } 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->date_of_birth->value)){ $date_of_birth = $antecedants_data->date_of_birth->value; } else { $date_of_birth = ''; } if(isset($antecedants_data->date_of_birth->match_status)){ $dob_match_status = $antecedants_data->date_of_birth->match_status; } else { $dob_match_status = 'MATCHED'; } if(isset($antecedants_data->pan_number->value)){ $pan_number = $antecedants_data->pan_number->value; } else { $pan_number = ''; } if(isset($antecedants_data->pan_number->match_status)){ $pan_match_status = $antecedants_data->pan_number->match_status; } else { $pan_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