@php $lasthistory = json_decode($lasthistories); $antecedants_data = json_decode($lasthistory->antecedants_data); if(isset($antecedants_data->verification_date)){ $verification_date = $antecedants_data->verification_date; } else { $verification_date = ''; } $candidate_data = json_decode($lasthistory->candidate_data); if(isset($candidate_data->uan_number)){ $uan_number = $candidate_data->uan_number; } else { $uan_number = ''; } if(isset($candidate_data->uan_mobile_number)){ $uan_mobile_number = $candidate_data->uan_mobile_number; } else { $uan_mobile_number = ''; } if(isset($candidate_data->uan_company_name)){ $uan_company_name = $candidate_data->uan_company_name; } else { $uan_company_name = ''; } 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->output_data)){ $output_data = json_encode($antecedants_data->output_data, true, JSON_UNESCAPED_SLASHES); } else { $output_data = ''; } if(isset($antecedants_data->uan_no->value)){ $uan_no = $antecedants_data->uan_no->value; } else { $uan_no = ''; } if(isset($antecedants_data->uan_no->match_status->value)){ $uan_no = $antecedants_data->uan_no->match_status->value; } else { $uan_no_match_status = 'MATCHED'; } if(isset($antecedants_data->mobile->value)){ $mobile = $antecedants_data->mobile->value; } else { $mobile = ''; } if(isset($antecedants_data->mobile->match_status)){ $mobile_match_status = $antecedants_data->mobile->match_status; } else { $mobile_match_status = 'MATCHED'; } if(isset($antecedants_data->com_name->value)){ $com_name = $antecedants_data->com_name->value; } else { $com_name = ''; } if(isset($antecedants_data->com_name->match_status)){ $com_name_match_status = $antecedants_data->com_name->match_status; } else { $com_name_match_status = 'MATCHED'; } if(isset($antecedants_data->severity_messages_id)){ $severity_messages_id = $antecedants_data->severity_messages_id; } else { $severity_messages_id = ''; } @endphp