public function all() { return Product::all(); }
/** * Show the form for creating a new resource. * * @return \Illuminate\Http\Response */ public function create() { $products = \bepc\Models\Product::all(); $customers = $this->customer->all(); return view('self.blade.order.create')->with(compact('products', 'customers')); }