示例#1
0
 /**
  * Show a page to create a new notice.
  *
  * @return \Response
  *
  *
  */
 public function create()
 {
     // get list of providers
     $providers = Provider::lists('name', 'id');
     // load a view to create a new notice
     return view('notices.create', compact('providers'));
 }
 /**
  * Create a New Notice.
  *
  * @return \Illuminate\View\View
  */
 public function create()
 {
     // get list of providers
     $providers = Provider::lists('name', 'id');
     // Defines Provider List based on the Eloquent Class.
     // load a view to create a new notice
     return view('notices.create', compact('providers'));
 }
示例#3
0
 /**
  * Create a new notice
  *
  * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
  */
 public function create()
 {
     $providers = Provider::lists('name', 'id');
     return view('notices.create', compact('providers'));
 }