/**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     $courses = Course::find($id);
     $programStudies = ProgramStudy::lists('name', 'id');
     $faculties = Faculty::lists('faculty_name', 'faculty_code');
     $studies = Study::lists('study_name', 'id');
     return view('dashboard.admin.course.edit', ['course' => $courses, 'programStudy' => $programStudies, 'faculty' => $faculties, 'study' => $studies]);
 }
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     $students = Student::find($id);
     $faculties = Faculty::lists('faculty_name', 'faculty_code');
     $studies = Study::lists('study_name', 'id');
     $programStudies = ProgramStudy::lists('name', 'id');
     $academicRegistrations = AcademicRegistration::lists('academic_year', 'id');
     $religions = Religion::lists('name', 'id');
     return view('dashboard.admin.student.edit', ['student' => $students, 'faculty' => $faculties, 'study' => $studies, 'programStudy' => $programStudies, 'academicRegistration' => $academicRegistrations, 'religion' => $religions]);
 }
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function edit($id)
 {
     $association = Association::findOrFail($id);
     $faculties = Faculty::lists('title', 'id');
     return view('pages.admin.associations.edit', compact('faculties', 'association'));
 }
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     $studies = Study::find($id);
     $faculties = Faculty::lists('faculty_name', 'faculty_code');
     return view('dashboard.admin.study.edit', ['study' => $studies, 'faculty' => $faculties]);
 }
Exemple #5
0
 /**
  * Show the form for creating a new resource.
  *
  * @return Response
  */
 public function create()
 {
     $faculties = Faculty::lists('faculty_name', 'faculty_code');
     return view('dashboard.admin.study.create', ['faculty' => $faculties]);
 }