@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 = ''; } 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->type_of_enterprise->value)){ $type_of_enterprise = $antecedants_data->type_of_enterprise->value; } else { $type_of_enterprise = ''; } if(isset($antecedants_data->type_of_enterprise->match_status)){ $type_of_enterprise_match_status = $antecedants_data->type_of_enterprise->match_status; } else { $type_of_enterprise_match_status = 'MATCHED'; } if(isset($antecedants_data->registration_no->value)){ $registration_no = $antecedants_data->registration_no->value; } else { $registration_no = ''; } if(isset($antecedants_data->registration_no->match_status)){ $registration_no_match_status = $antecedants_data->registration_no->match_status; } else { $registration_no_match_status = 'MATCHED'; } if(isset($antecedants_data->name_of_enterprise->value)){ $name_of_enterprise = $antecedants_data->name_of_enterprise->value; } else { $name_of_enterprise = ''; } if(isset($antecedants_data->name_of_enterprise->match_status)){ $name_of_enterprise_match_status = $antecedants_data->name_of_enterprise->match_status; } else { $name_of_enterprise_match_status = 'MATCHED'; } if(isset($antecedants_data->social_category_of_enterprise->value)){ $social_category_of_enterprise = $antecedants_data->social_category_of_enterprise->value; } else { $social_category_of_enterprise = ''; } if(isset($antecedants_data->social_category_of_enterprise->match_status)){ $social_category_of_enterprise_match_status = $antecedants_data->social_category_of_enterprise->match_status; } else { $social_category_of_enterprise_match_status = 'MATCHED'; } if(isset($antecedants_data->official_address->value)){ $official_address = $antecedants_data->official_address->value; } else { $official_address = ''; } if(isset($antecedants_data->official_address->match_status)){ $official_address_match_status = $antecedants_data->official_address->match_status; } else { $official_address_match_status = 'MATCHED'; } if(isset($antecedants_data->date_of_incorporation->value)){ $date_of_incorporation = $antecedants_data->date_of_incorporation->value; } else { $date_of_incorporation = ''; } if(isset($antecedants_data->date_of_incorporation->match_status)){ $date_of_incorporation_match_status = $antecedants_data->date_of_incorporation->match_status; } else { $date_of_incorporation_match_status = 'MATCHED'; } if(isset($antecedants_data->date_of_commencement_of_production_business->value)){ $date_of_commencement_of_production_business = $antecedants_data->date_of_commencement_of_production_business->value; } else { $date_of_commencement_of_production_business = ''; } if(isset($antecedants_data->date_of_commencement_of_production_business->match_status)){ $date_of_commencement_of_production_business_match_status = $antecedants_data->date_of_commencement_of_production_business->match_status; } else { $date_of_commencement_of_production_business_match_status = 'MATCHED'; } if(isset($antecedants_data->severity_messages_id)){ $severity_messages_id = $antecedants_data->severity_messages_id; } else { $severity_messages_id = ''; } @endphp