blade :
{{ route('coupon.couponfilter', [$user->id, $startDate, $endDate]) }}
web:
Route::get('admin/couponfilter/{id}/{startDate}/{endDate}', 'CouponController@couponfilter')->name('coupon.couponfilter');
controller:
public function couponfilter(Request $request)
$coupon = Coupon::where('user_id', $request->id)->where('buy_date', '>=', $request->startDate)->where('buy_date', '<=', $request->endDate)->orderBy('buy_date', 'desc')->get();
return view('admin.coupon.index', compact('coupon'));