Jordan Posted December 22, 2007 Share Posted December 22, 2007 I'm currently working on a custom template, and a capability I want on my client's homepage is the ability to see what their current balance is for their account. If it's zeroed out, I just want it to display $0.00 with the standard green color applied to the text, and of course if there's a balance to display the TOTAL amount owed with red applied to it. So far the only thing that comes close is just {$invoice.status} (the amount is covered by using {$currencysymbol}{$invoice.total} {$currency}), which obviously just shows Unpaid if there's an invoice unpaid in the homepage. Is there any setting I can use that would just apply a color status to a balance? 0 Quote Link to comment Share on other sites More sharing options...
Jordan Posted December 22, 2007 Author Share Posted December 22, 2007 I think I'm just going to go ahead and settle for using the invoice.status variable for the time being... But if there is an option to have a status color applied to a balance, I'm still more than willing to use it 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted December 23, 2007 Share Posted December 23, 2007 cant you just do an "if" on the invoice.status ? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.