rewrite get monthly sales