app/Http/Controllers/Admin/DefaultWagesController.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()
    {
        $defaultwage = DefaultWage::all()->first();
        return view('admin.defaultwages.index') -> with('defaultwage', $defaultwage);
    }
public function index ( ) { $ defaultwage = DefaultWage :: all ( ) -> first ( ) ; return view ( 'admin.defaultwages.index' ) -> with ( 'defaultwage' , $ defaultwage ) ; }
Display a listing of the resource.
Display a listing of the resource .