/**
  * 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);
 }
Exemple #2
0
 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);
 }
Exemple #4
0
 public function data_guru()
 {
     $guru = Guru::all();
     return View::make('web.guru')->with('guru', $guru);
 }
Exemple #5
0
 public function mengajar()
 {
     $guru = Guru::all();
     return View::make('hal_siswa.mengajar')->with('guru', $guru);
 }
Exemple #6
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $guru = Guru::all();
     return View::make('guru.index')->with('guru', $guru);
 }