/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id) { $order = Order::find($id); $order->goods = json_decode($order->product_json); $data['data'] = $order; return view('card.order.show', $data); }