/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $orders = Order::with('user')->paginate(15); //dd($orders); return view('orders.index', compact('orders')); }
/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $orders = Order::with('user')->paginate(15); //dd($orders); return view('orders.index', compact('orders')); }