add sales_by_date and sale_purchase_date methods to Vendor to improve revenue method