fixed #37 days pagination bug fix for sales#index