public function signin() { $personnel = new Personnel(); $personnel->serviceno = Input::get('serviceno'); $personnel_credentials = Personnel::where('serviceno', $personnel->serviceno)->first(); return view('clients.index', compact('personnel_credentials')); }
public function index() { $army = Personnel::where('depart', 'Army')->count(); $navy = Personnel::where('depart', 'Navy')->count(); $airforce = Personnel::where('depart', 'Airforce')->count(); return view('index', compact('army', 'navy', 'airforce')); }
public function view_courses() { $view_courses = Personnel::where('nominated_for_course', '1')->get(); return view('view_courses', compact('view_courses')); }