예제 #1
0
 public function showEdit($orderid)
 {
     $tags = Tag::all();
     $status = Orders::status();
     $data = Orders::findOrFail($orderid);
     $tag = new Tag();
     $orderTag = $tag->orderTag($orderid);
     return view('orders.edit', ['orderid' => $orderid, 'tags' => $tags, 'data' => $data, 'status' => $status, 'orderTag' => $orderTag]);
 }