scottopolis / edd-metrics

EDD Metrics
46 stars 12 forks source link

Get correct revenue figures for historical data (e.g. last year) #47

Closed danlester closed 6 years ago

danlester commented 6 years ago

$twomoago in get_net_revenue was giving a start date later than the end date in many historical cases, because it was based on today's date. It is now set two months before the start date of the period in question, allowing it to take into account refunds.

scottopolis commented 6 years ago

Thank you!!