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 forums.ablecommerce.com. Please use your AbleCommerce username and password to Login. Forums Registration.

Notification

Icon
Error

Options
Go to last post Go to first unread
judy at Web2Market  
#1 Posted : Thursday, January 21, 2021 10:58:12 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 121

Thanks: 4 times
Was thanked: 2 time(s) in 2 post(s)
On the view order screen, and invoice, the adjustments total doesn't show if the the adjustments are <0. In Gold, the code was
if (adjustments != 0)
{
trAdjustments.Visible = true;
Adjustments.Text = adjustments.LSCurrencyFormat("lc");
}
In 9.0.3, the code is
@if (Model.AdjustmentsTotal >0)
{
<tr>
<td><strong>Adjustments</strong></td>
<td>@Html.DisplayFor(m => Model.AdjustmentsTotal)</td>
</tr>
}

">" rather than "!="

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. Forums Registration.

judy at Web2Market  
#2 Posted : Thursday, January 21, 2021 11:03:27 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 121

Thanks: 4 times
Was thanked: 2 time(s) in 2 post(s)
Ditto for coupons. They don't show because >0 is used.
shaharyartiwana25816656  
#3 Posted : Friday, January 22, 2021 1:30:32 AM(UTC)
shaharyartiwana25816656

Rank: Advanced Member

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

Thanks: 1 times
Was thanked: 33 time(s) in 33 post(s)
Hi Judy,

I am able to reproduce. Thank you for identifying the bug. I have registered a bug report.

Thanks for your support!
Users browsing this topic
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.