app/Http/Controllers/HRIndexController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $indices = HRIndex::paginate(7);
        $diagnoses = HRDiagnose::pluck('id');
        return view('hrdata.index', compact('indices', 'diagnoses'));
    }
public function index ( ) { $ indices = HRIndex :: paginate ( 7 ) ; $ diagnoses = HRDiagnose :: pluck ( 'id' ) ; return view ( 'hrdata.index' , compact ( 'indices' , 'diagnoses' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
//