Added support for date params to AccountsController#sales_totals