app/Http/Controllers/Admin/EmployeeController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Employee $employee
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit(Employee $employee)
    {
        $roles = Role::whereNotIn('name', ['superadmin', 'admin', 'passenger'])->get();
        return view('admin.employees.edit', compact('employee', 'roles'));
    }
public function edit ( Employee $ employee ) { $ roles = Role :: whereNotIn ( 'name' , [ 'superadmin' , 'admin' , 'passenger' ] ) -> get ( ) ; return view ( 'admin.employees.edit' , compact ( 'employee' , 'roles' ) ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .
//