/**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function show($id)
 {
     $garage = Garage::findOrFail($id);
     $admin = User::findOrFail($garage->admin_id);
     $garage_types = GarageType::lists('type_name', 'type_id');
     return view('back.garage.check.show', compact('garage', 'admin', 'garage_types'));
 }
 public function createCoupon($id)
 {
     $garage = Garage::findOrFail($id);
     $garage_id = $id;
     $admin_id = $garage->admin_id;
     $brands = BrandLimit::lists('brand_name', 'brand_id');
     return view('back.test.garage.create_coupon', compact('garage_id', 'admin_id', 'brands'));
 }