Hi,
We received your message.
For anyone else reading here, I'll say that you've asked 3 questions in your message, while the access / information I asked was only for one question. So I'm going to add the questions here so that anyone can understand my answers:
1.
On the dashboard have a notification that this month earned ... I have created a report ... and there says it is something else ... Which one is correct, one on the dashboard or in reports?
Both are correct. They are not calculing the same thing.
First, the dashboard value is calculated based on the orders with the statuses enabled under the "statistics" column of the System>Order statuses menu for the past 30 days and based on either the order creation date if the "created" status is included, or the "order invoice creation date" if not.
The name of that value in the dashboard is "order this month" which is a simplification of what this value means. The full description of how this is calculated would fit there.
Second, you've configured your report to be the sum of the sales "this month". Here, "this month" refers to the calendar month, so from the 1st of the month to the current day. Also, even if you select in the report "last 30 days" instead, and have the same order statuses as you have for the statistics column, you'll still see a difference for 2 reasons:
- you've turned off the "include shipping" and "include "coupon" settings of the report will the amount calculated on the dashboard includes them.
- the report will always use the order creation date while the dashboard uses the order invoice creation date since the "created" order status is not used.
So as I said, both amounts are most likely correct. You're just not looking at the same calculation.
2.
I need info what is the best buyer this month?
I created a report named "7 najboljih kupaca" and there have a certain amount ...
But when looking in orders you will see customer A is spending more money ... How is that?
and 3.
I need info what is the best buyer this year? ...
Both issues are related to how the reports on "customers" are done. They actually base themselves on the date of creation of the user account and take into account all of the orders of these customers, instead of basing the calculations on the order creation / order invoice creation dates, which would be more logical.
I think it makes more sense to base the calculations on the order creation / order invoice creation dates here, and I thought that was actually the case when I recommended you to use reports for that.
So no wonder what you found didn't match with what you expected. That's my bad.
So I've made some modifications to these calculations so that it works as expected.
Thanks to the FTP access and backend access you have provided I've applied the modifications and tested them.
It seems to be working properly now but I'll let you confirm.
We'll add the modifications for the next version of HikaShop.