getSalesReport stored procedure updated