Page 1 of 1

sales over time

Posted: Mon Nov 10, 2008 10:46 am
by mkeith1
In the merchant dashboard, Sales over time" feature shows past 7 days and past 3 months. can it be edited to show the last 12 months?

or can there be an option in the Reports menu that just shows monthly sales history with a report period of the last 12 months total sales as a measure would be great.

I know Version 5.5 had this feature, cause i have a report from it.

Re: sales over time

Posted: Tue Nov 11, 2008 11:42 am
by mazhar
In the merchant dashboard, Sales over time" feature shows past 7 days and past 3 months. can it be edited to show the last 12 months?
Give a try and edit the Admin/Dashboard/SalesOverTime.ascx file and locate the following line

Code: Select all

<ComponentArt:TabStripTab Text="Past 6 Months"></ComponentArt:TabStripTab>
and change it to

Code: Select all

<ComponentArt:TabStripTab Text="Past 12 Months"></ComponentArt:TabStripTab>
Now edit the Admin/Dashboard/SalesOverTime.ascx.cs file and locate the following line of code

Code: Select all

ReportDataSource.GetSalesForPastMonths(6, true);
and make it look like

Code: Select all

ReportDataSource.GetSalesForPastMonths(12, true);