public function saveAsForm($id) { $user = Auth::user(); $report_dates = ReportDate::orderBy('petsa', 'desc')->lists('petsa', 'id'); $report_date = ReportDate::findOrFail($id); return view('tviadmin.industry_extension1s.save_as', array('report_dates' => $report_dates, 'report_date' => $report_date, 'institution_id' => $user->institution->id)); }