logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
Joe Payne @ Solunar  
#1 Posted : Wednesday, March 2, 2022 2:42:47 PM(UTC)
Joe Payne @ Solunar

Rank: Member

Groups: Developers, Registered, HelpDesk
Joined: 11/7/2018(UTC)
Posts: 23

Thanks: 5 times
Steps to reproduce:

Run the Sales Over Time report
Click the Details button for a specific date in the report that is not the current date

The details report always defaults to the current date regardless of the date you clicked from the Sales Over Time report. It should be using the date from the row I clicked on the Sales Over Time report.
Joe Payne, AbleMods Hosting LLC
https://www.ablemodshosting.com

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

shaharyar  
#2 Posted : Thursday, March 3, 2022 5:04:22 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 704

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
The issue is fixed and will be the part of upcoming release.

Thanks.

To fix:
1- Open file /Website/Areas/Admin/Views/Report/_GetSalesOverTime.cshtml
2- Search for
Code:
<a href="@Url.Action("DailySales", new { date = sale.StartDate })" class="btn btn-white btn-sm">Details</a>

3- Replace with
Code:
<a href="@Url.Action("DailySales", new { startDate = sale.StartDate })" class="btn btn-white btn-sm">Details</a>
thanks 1 user thanked shaharyar for this useful post.
Joe Payne @ Solunar on 3/4/2022(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.