/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { $rombel = Rombel::find($id); $kelas = Kelas::all(); $guru = Guru::all(); return View::make('rombel.edit')->with('rombel', $rombel)->with('kelas', $kelas)->with('guru', $guru); }
public function n_harian() { $kelas = Kelas::all(); $tahun = DB::table('rombel')->groupBy('thn_ajaran')->get(); $mapel = Mapel::all(); $guru = Guru::all(); return View::make('laporan.harian')->with('kelas', $kelas)->with('tahun', $tahun)->with('mapel', $mapel)->with('guru', $guru); }
/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { $mengajar = Mengajar::find($id); $guru = Guru::all(); $mapel = Mapel::all(); $setting = Setting::first(); return View::make('mengajar.edit')->with('mengajar', $mengajar)->with('guru', $guru)->with('mapel', $mapel)->with('setting', $setting); }
public function data_guru() { $guru = Guru::all(); return View::make('web.guru')->with('guru', $guru); }
public function mengajar() { $guru = Guru::all(); return View::make('hal_siswa.mengajar')->with('guru', $guru); }
/** * Display a listing of the resource. * * @return Response */ public function index() { $guru = Guru::all(); return View::make('guru.index')->with('guru', $guru); }