@php error_reporting(0); if(request()->path()=="members/create") { $readonly= request()->role=="RT"?"disabled":""; }else { $readonly= request()->role!=""?"disabled":""; } @endphp Basic Information