@php $serverOrigin = $_SERVER['HTTP_ORIGIN']; $id = $cand->id; $awarenessFirst = ''; $awarenessSecond = ''; $awarenessThird = ''; if ($cand->selfAwareness != '') { $rsD = json_decode($cand->selfAwareness, true); $awarenessFirst = $rsD[0]; $awarenessSecond = $rsD[1]; $awarenessThird = $rsD[2]; } @endphp