Modified RevenueReport

implemented the generateReport function using date