Hey guys
I have been working on getting the currency configuration working on GetPaid (
http://getpaid.googlecode.com/svn/Products.PloneGetPaid/branches/hannesc/trunk/). As some of you know (well those of you who were at PloneConf2009 anyway) this has been a thorn in my side for a while now. I am glad to say that I have got a branch going with currency configuration working 100%.
From the discussions at the PloneConf2009 Sprint, I found that there are basically only two options that are truly needed in the configuration. This allowed me to simplify the configuration considerably. I have removed all the options in the original interfaces.py except for the currency symbol. Well, seeing as the currency configuration was never fully implemented, you could say that this option was 'added'. Once this was completely working, I added the ability to set whether the currency symbol should appear in front or behind the price. The template code is a bit messy, so if someone feels like cleaning that up, I would appreciate it.
I have tested the workings of it and everything seems to work fine. Because of the fact that I simplified the original interface so much, I don't know if this should be merged with the trunk. I leave that up to the community.
On a side note, this is not meant to do conversion. It is merely to allow people from different countries to use their local currencies instead of the originally hard-coded $.
Anyhow, any feedback will be greatly appreciated.
Thanks
Hannes