@php $employeeType = auth()->user()->employee_type; $url = ''; switch ($employeeType) { case 'SalesAdmin': $url = url('employeelist'); break; case 'front-end': $url = url('frontenddashboard'); break; case 'OperationAdmin': $url = url('projects'); break; case 'OperationEmployee': $url = url('designerprojects'); break; case 'Top_Management': $url = url('projects'); break; case 'Accounting': $url = url('Reciever'); break; case 'SMMAdmin': $url = url('smmadmin'); break; case 'Graphic': $url = url('graphicdesignerdashboard'); break; case 'Content': $url = url('contentwriterdashboard'); break; case 'Employee': $url = url('requestformsales'); break; default: $url = ''; } @endphp