Esempio n. 1
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     $attendance = Attendance::get_attendance($id);
     $congregation_list = Congregation::lists('name', 'id');
     $staff_list = Staff::lists('name', 'id');
     return view('attendances.edit', compact('attendance', 'congregation_list', 'staff_list'));
 }