change name of the function downloadReport to downloadSalesReport