Modified the web application query and function for fixing the downloaded CSV file and PDF for the report by resource and ticket activity log report, the downloaded file has an excess column for the data while the header is correct. Tested the changes, and as per testing, it is now OK, and the output is as expected.