Modified the activity controller, repository, and blade to add the function and query for the resource and business unit filter. I tested the changes, and the resource and the business unit data are now showing, modified the filter function again to append the select all in the dropdown, and tested the changes, and as per testing, it is now OK. Created the function and the query for the search button, and tested the changes, as per testing, the filter value is now passed to the controller thus there is no data extracted from the query, modified the function to fix the passing of filter to the controller, tested the changes, as per testing, it is now OK, the filter is passed to the controller. Tested the search and the display of the data in the data tables, as per testing, it is now OK the data is displaying based on the selected filter.