@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->severity)){ $severity = $antecedants_data->severity; } else { $severity = ''; } if(isset($antecedants_data->conclusion)){ $conclusion = $antecedants_data->conclusion; } else { $conclusion = ''; } if(isset($antecedants_data->gstin->value)){ $gstin = $antecedants_data->gstin->value; } else { $gstin = ''; } if(isset($antecedants_data->gstin->match_status)){ $gstin_match_status = $antecedants_data->gstin->match_status; } else { $gstin_match_status = 'MATCHED'; } if(isset($antecedants_data->r_name->value)){ $r_name = $antecedants_data->r_name->value; } else { $r_name = ''; } if(isset($antecedants_data->r_name->match_status)){ $r_name_match_status = $antecedants_data->r_name->match_status; } else { $r_name_match_status = 'MATCHED'; } if(isset($antecedants_data->bus_place->value)){ $bus_place = $antecedants_data->bus_place->value; } else { $bus_place = ''; } if(isset($antecedants_data->bus_place->match_status)){ $bus_place_match_status = $antecedants_data->bus_place->match_status; } else { $bus_place_match_status = 'MATCHED'; } if(isset($antecedants_data->reg_date->value)){ $reg_date = $antecedants_data->reg_date->value; } else { $reg_date = ''; } if(isset($antecedants_data->reg_date->match_status)){ $reg_date_match_status = $antecedants_data->reg_date->match_status; } else { $reg_date_match_status = 'MATCHED'; } if(isset($antecedants_data->con_bus->value)){ $con_bus = $antecedants_data->con_bus->value; } else { $con_bus = ''; } if(isset($antecedants_data->con_bus->match_status)){ $con_bus_match_status = $antecedants_data->con_bus->match_status; } else { $con_bus_match_status = 'MATCHED'; } if(isset($antecedants_data->trade_name->value)){ $trade_name = $antecedants_data->trade_name->value; } else { $trade_name = ''; } if(isset($antecedants_data->trade_name->match_status)){ $trade_name_match_status = $antecedants_data->trade_name->match_status; } else { $trade_name_match_status = 'MATCHED'; } if(isset($antecedants_data->severity_messages_id)){ $severity_messages_id = $antecedants_data->severity_messages_id; } else { $severity_messages_id = ''; } @endphp