AbleCommerce Forums
»
AbleCommerce
»
AbleCommerce 9 Bug Reports
»
Dates on Low Inventory report are dd/MM/yyyy format
Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
In the ReportController: AvailablityDate = (product.AvailabilityDate == DateTime.MinValue) ? string.Empty : product.AvailabilityDate.ToString("dd/MM/yyyy"), Everywhere else they are MM/dd/yyyy I think most of your customers are in US so why not use the US format like the dates in all other locations I have seen. Edit- uploading image 2021-01-06_12-29-46.png (12kb) downloaded 0 time(s).Another screenshot- compare date with calendar. 2021-01-06_12-31-27.png (17kb) downloaded 0 time(s).Edited by user Wednesday, January 6, 2021 11:32:17 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
OK, am I imagining things? I changed the date on a product in the low inventory report and it set all the dates on the page to the same thing and changed the in stock figures. I have not made any changes to the code. 2021-01-06_12-33-42.png (72kb) downloaded 3 time(s). 2021-01-06_12-35-24.png (63kb) downloaded 3 time(s).
|
|
|
|
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)
|
Hi Judy,
Thanks for pointing this out.
I'll report an issue.
Thanks.
|
|
|
|
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)
|
Quote:OK, am I imagining things? I changed the date on a product in the low inventory report and it set all the dates on the page to the same thing and changed the in stock figures. I have not made any changes to the code. This is an issue already registered and fixed. It will be fixed in the next release. Thanks for your support.
|
|
|
|
Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
Thanks, but can you post the fix? I am working on a big site and they use that report extensively. They are purchasing source code in case they need to patch bugs before AC comes out with patches so their business can continue to function efficiently. This is a pretty big bug- it can mess up hundreds of products.
|
|
|
|
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)
|
Hi Judy, You can follow these steps to add a fix for this issue. 1- Open file \Website\Areas\Admin\Controllers\ReportController.cs 2- Replace the file content with the content in the file attached ReportController.txt (167kb) downloaded 1 time(s).3- Compile the code 4- Before going live with these changes, first apply these changes to your local setup and confirm the issue is fixed.
|
1 user thanked shaharyar for this useful post.
|
|
|
Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
Thank you so much for the prompt fix!
|
|
|
|
AbleCommerce Forums
»
AbleCommerce
»
AbleCommerce 9 Bug Reports
»
Dates on Low Inventory report are dd/MM/yyyy format
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.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close