コード例 #1
0
 /**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($order_number)
 {
     $order = Order::where('order_number', '=', $order_number);
     return view('orders.individual.admin', compact('order'));
 }
コード例 #2
0
 /**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($order_number)
 {
     $order = Order::where('order_number', '=', $order_number)->first();
     return view('orders.individual.user', $order);
 }