Refactored date ranges for sales. #982
Updated dates rangefor yesterday. #982
Updated dates for this month and last month. #982
Updated dates for this year and last year. #982
Added support for this_quarter and last_quarter sales. #982