When I\'m sending this ajax request:
$.ajax({ url: \"{{URL::to(\'admin/repcasetracker/getdiscount\')}}\", data: {
You need to use
return $request->all();
instead of
dd($request->all());
in your controller function. return $request->all(); just return the response with your $request data.
$request
Hope this helps you!