예제 #1
0
 public function filter()
 {
     $filtertarifs = Input::get('kdlab');
     //Untuk Searing berdasarkan nama laboratorium
     $lab = Lab::groupBy('NmLab')->get();
     $labcari = Lab::where('KdLab', '=', $filtertarifs)->get();
     $tarifs = Tarif::where('KdLab', '=', $filtertarifs)->paginate(5);
     return View::make('tarif.filtertarif')->with('filtertarifs', $filtertarifs)->with('lab', $lab)->with('labcari', $labcari)->with('tarifs', $tarifs);
 }
예제 #2
0
 public function jadwal()
 {
     $jadwals = Jadwal::where('jadwal_status', '=', 1)->get();
     $labs = Lab::where('lab_status', '=', 1)->get();
     $ruangs = Ruang::where('ruang_status', '=', 1)->get();
     $praktikums = Praktikum::all();
     return View::make('dashboard.kordas.DataMaster.jadwal')->with('jadwals', $jadwals)->with('labs', $labs)->with('ruangs', $ruangs)->with('praktikums', $praktikums);
 }