コード例 #1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     // ID Card Dashboard
     $print_list = PrintList::printing()->with('member')->get();
     //Those that have NOT been printed yet.
     $receive_list = PrintList::receiving()->with('member')->get();
     //Those that have NOT been delivered yet.
     return view('idcard.index', compact('print_list', 'receive_list'));
 }