Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function OrderHistory(){
- $user_id = Auth::User()->id;
- $orders = Order::with('ordersz')->where('user_id',$user_id)->get();
- return view('users.order_history')->with(compact('orders'));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement