Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Negative Balance in Red
Message
 
 
À
Tous
Information générale
Forum:
Javascript
Catégorie:
Autre
Titre:
Negative Balance in Red
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01608940
Message ID:
01608940
Vues:
50
Hi everybody,

I'd like to show balance in red when negative.

Do you know what should I adjust here?
Total balance due for all invoices: {{currentAccount.totalBalance| currency}}
Right now it shows in () for negative values which is not obvious. I'd rather show with - and in red but formatted as currency.

Found related question

http://stackoverflow.com/questions/17441254/why-angularjs-currency-filter-formats-negative-numbers-with-parenthesis

I'll check with project manager first.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform