public function addCoupon($book_id) { $book = Book::find($book_id); $linkfilecss = 'add_coupon.css'; $packages = Package::getPackageBelongBook($book_id); return view('frontend.author.add_coupon', compact('book', 'linkfilecss', 'packages')); }