Exemplo 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);
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 public function data_siswa()
 {
     $kelas = Kelas::all();
     return View::make('web.data_siswa')->with('kelas', $kelas);
 }
Exemplo n.º 4
0
 public function pindah_kelas()
 {
     $setting = Setting::first();
     $kelas = Kelas::all();
     return View::make('mutasi.index')->with('setting', $setting)->with('kelas', $kelas);
 }
Exemplo n.º 5
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $kelas = Kelas::all();
     return View::make('kelas.index')->with('kelas', $kelas);
 }
Exemplo n.º 6
0
 /**
  * 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);
 }