/**
  * Search order listeing.
  *
  * @param  int  $id
  * @return Response
  */
 public function orderSearch()
 {
     $orders = ConfirmOrders::where('order_number', Input::get('query'))->get();
     return view('admin.orders.index', compact('orders'));
 }
 /**
  * Update the specified resource in storage.
  *
  * @param  Request  $request
  * @param  int  $id
  * @return Response
  */
 public function update(Request $request, $id)
 {
     $order_confirmed_update = ConfirmOrders::where('id', '=', $id)->update(['status' => "Confirmed", 'additional_note' => $request->additional_note]);
     return redirect('orders')->with('order_confirmed', 'Order Confirmed!');
 }