AbleCommerce Forums
	 » 
	AbleCommerce
	 » 
	AbleCommerce 9 Bug Reports
	 » 
	Order summary total doesn't show adjustments if they are <0
	 
	
        
            
            
    | 
	Rank: Advanced Member
 Groups: Developers
Joined: 11/7/2018(UTC)
 Posts: 312
 
 Thanks: 21 timesWas thanked: 6 time(s) in 6 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 "!="
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
            
        
            
            
    | 
	Rank: Advanced Member
 Groups: Developers
Joined: 11/7/2018(UTC)
 Posts: 312
 
 Thanks: 21 timesWas thanked: 6 time(s) in 6 post(s)
 
 | 
            
		      
                Ditto for coupons. They don't show because >0 is used. | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
        
            
            
    | 
	Rank: Advanced Member
 Groups: Developers, Registered, HelpDesk, Authorized UserJoined: 10/5/2018(UTC)
 Posts: 704
 
 Thanks: 6 timesWas thanked: 113 time(s) in 112 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!
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
                           
	AbleCommerce Forums
	 » 
	AbleCommerce
	 » 
	AbleCommerce 9 Bug Reports
	 » 
	Order summary total doesn't show adjustments if they are <0
	 
	
    
        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