@php $content = "
". htmlentities($user->userBadge()); if (isset($additionalText) && !is_null($additionalText)) { $content .= "
".$additionalText."
"; } $content.="
"; if($agent){ $content .= ' ['.$user->email.'] '; } if($pill){ $content = "".$content.""; } if ($user->status == 'deactive') { $content .= "Inactive"; } @endphp