Laravel query not returning correct values
I am building an expense managing web app.
I have a section analytics and I am working on filters for that page.
The filter parameters are sent to the server correctly, but the problem is that the raw SQL query doesn’t include those parameters for filtering.
My code: