public function index() { $data['employees'] = Employeeinfo::all(); return view('reportHRandPayroll', $data); }