openaustralia / oaf

OpenAustralia Foundation
https://github.com/openaustralia/oaf#readme
4 stars 3 forks source link

Donation form: remove .00 from prices #158

Closed equivalentideas closed 8 years ago

equivalentideas commented 9 years ago

Instead of $100.00 we should have $100 .

henare commented 9 years ago

In CiviCRM under Settings > Localization > Languages, Currency, Locations you can change the way currency is displayed. However it uses options that are just passed to the PHP function money_format, which does not support removing trailing zeroes.

So we'll have to do this display side in JS.