app/Http/Controllers/Admin/front/EmpReportController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $companys=Mmcompany::get();
        $emos = User::where('type_id','4')->get();
        return view('frontend.layouts.emp')->with('companys',$companys)->with('emos',$emos);
    }
public function create ( ) { $ companys = Mmcompany :: get ( ) ; $ emos = User :: where ( 'type_id' , '4' ) -> get ( ) ; return view ( 'frontend.layouts.emp' ) -> with ( 'companys' , $ companys ) -> with ( 'emos' , $ emos ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .