/** * 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_ujian() { $kelas = Kelas::all(); $tahun = DB::table('rombel')->groupBy('thn_ajaran')->get(); $mapel = Mapel::all(); return View::make('laporan.ujian')->with('kelas', $kelas)->with('tahun', $tahun)->with('mapel', $mapel); }
public function data_siswa() { $kelas = Kelas::all(); return View::make('web.data_siswa')->with('kelas', $kelas); }
public function pindah_kelas() { $setting = Setting::first(); $kelas = Kelas::all(); return View::make('mutasi.index')->with('setting', $setting)->with('kelas', $kelas); }
/** * Display a listing of the resource. * * @return Response */ public function index() { $kelas = Kelas::all(); return View::make('kelas.index')->with('kelas', $kelas); }
/** * Show the form for creating a new resource. * * @return Response */ public function create() { $kelas = Kelas::all(); $setting = Setting::first(); return View::make('siswa.tambah')->with('kelas', $kelas)->with('setting', $setting); }