Updated generate_report_states function to accept state_name as a
sales-filter.