コード例 #1
0
 public function index()
 {
     $years = SchoolYear::all();
     $current_year = $years->pop();
     $current_handbook = $current_year->course_handbook;
     $handbooks = CourseHandbook::all();
     return view('configuracion.anos-lectivos')->with(compact(['years', 'current_year', 'current_handbook', 'handbooks']));
 }
コード例 #2
0
 public function index()
 {
     $handbooks = CourseHandbook::all();
     return view('configuracion.mallas')->with(compact(['handbooks']));
 }