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