public function edit($id) { $view = Auth::user()->getView(); $parameters = Parameter::all(); $parameterLevel = Parameterlevel::findOrFail($id); return view('parameterLevels.edit', compact('parameterLevel', 'parameters', 'view')); }
public function edit($id) { $view = Auth::user()->getView(); $parameters = Parameter::all(); $samplings = Sampling::all(); $record = Record::findOrFail($id); return view('records.edit', compact('record', 'parameters', 'samplings', 'view')); }
public function index() { $view = Auth::user()->getView(); $parameters = Parameter::all(); return view('parameters.index', compact('parameters', 'view')); }