예제 #1
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     $order = Orders::find($id);
     return view('admin.orders.order_edit', ['order' => $order, 'allCategories' => Categories::lists('name', 'id'), 'allVendors' => Vendors::lists('name', 'id'), 'approvalPermissionUsers' => User::findAllWithAccess(['admin,approval.*'])]);
 }