public function openorders() { $orders = \App\Openorder::all(); return view('orders.openorders')->with('orders', $orders); }