[freeside] Changing the Currency Symbol in the PDF Invoice

Richard Siddall richard.siddall at elirion.net
Fri Mar 18 04:57:08 PST 2005


Julius Igugu wrote:
> Hi,
> 
> How do I change the currency displayed in the pdf invoices?
> 
> I have set the default currency symbol in the configuration to 'NGN', email
> invoices display correctly, but the pdf invoices and some parts of the web
> interface still display the '$' symbol.
> 
> I'm currently running FreeSide 1.5.0pre5 on RedHat 9.0.
> 
> Thanks
> 
> Julius Igugu
> SouthWork Co. Ltd.
> 

You need to edit invoice_latex.  There's a macro called "dollar" around 
line 45 which defines the currency symbol.  I don't know enough about 
latex to suggest what to change it to, but obviously if there's a 
character code for your currency symbol, just replace the 36 in the 
macro definition with that character code.  Otherwise, I'd try replacing 
the whole \symbol{36} with some literal text.

Regards,

	Richard.



More information about the freeside-users mailing list