CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Multiple Currencies
Pages: [1]

Author Topic: Multiple Currencies  (Read 1252 times)

FredJones

  • Guest
Multiple Currencies
November 14, 2007, 06:39:16 am
My team, ahem, hacked a CiviCRM 1.9 install to allow users to record offline donations in multiple currencies. On the data entry page there is a dropdown and on all view pages the correct donation appears (with it symbol). In the summary of year to date and also lifetime donations, each currency appears separately as in:

Code: [Select]
This Year's Contributions in USD
Current Year-to-Date - $ 444.00   # Contributions - 2   Avg Amount - $ 222.00
This Year's Contributions in ILS
Current Year-to-Date - ₪ 123.00   # Contributions - 1   Avg Amount - ₪ 123.00
Lifetime Contributions in USD
Total Amount - $ 444.00     # Contributions - 2   Avg Amount - $ 222.00
Lifetime Contributions in ILS
Total Amount - ₪ 123.00     # Contributions - 1   Avg Amount - ₪ 123.00

The only part that's REALLY a hack is that we hard-coded our list of acceptable currencies in 3 places in the code. All code changes are marked with our name. Anyhow if anyone is interested in obtaining the changed files to possibly add this feature, let me know and I can provide them.

Fred

BenDov

  • Guest
Re: Multiple Currencies
December 26, 2007, 02:01:15 am
Hi Fred

I am very interested to recieve the hacks / files to add this functionality - inc ILS and also Stirling and Euros?

Thanks

Jeremy
« Last Edit: December 26, 2007, 02:03:21 am by BenDov »

FredJones

  • Guest
Re: Multiple Currencies
December 26, 2007, 03:55:39 am
i will send them to you privately. the list of currencies is hard-coded in places, so just adjust those and you can have whatever currencies you want. :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Multiple Currencies

This forum was archived on 2017-11-26.