Forums / Currencies & Sales Taxes, VAT, GST, etc. / Currency Default Symbols in Invoices where do they get pulled from ?

Currency Default Symbols in Invoices where do they get pulled from ?

Views: 1,220

Results 1 to 2 of 2
18 Oct 2012, 7:58 AM
#1
zan_dude avatar

zan_dude

New Zenner

Join Date:
Sep 2012
Posts:
27
Plugin Contributions:
0

Currency Default Symbols in Invoices where do they get pulled from ?

Hi,

I've been playing around with zen cart for a while now and had a mess around with the RL_Invoice plugin (which is very good by the way) although there's a couple of minor issues.

My pound sign on a pdf is showing as a Question mark for some of the fields where as for some of the other fields it's showing ok, I know why it's doing this because of UTF-8 etc and the need to update the store to UTF-8 format which I have done.

It seems the pdf is pulling the same Data that can be seen in the ADMIN>ORDERS>Invoice.

Now the interesting bit, On the invoice I do actually see all the correct £ symbols for all the headings when looking at it via the Admin>Orders>Invoice

It's the symbols from the sub-total and below which don't show correctly in the generated PDF.

This is leading me to believe that the £ symbol for sub-total (and below) is being generated somewhere other than from the LOCALIZATION>CURRENCIES>Symbol left field... which I do currently have set as '£' and not '&Pound' as it was before.

Somewhere in all the files there must be a reference telling the sub total and below to use '&Pound' which is why it's not getting generated properly in the PDF.

Another interesting thing is if I changed the LOCALIZATION>CURRENCIES>Symbol left field to say a '$' when I do ADMIN>ORDERS>Invoice I will see '$' symbols but then for sub total and below I still see a '£' symbol.

I'd be really grateful if anyone had any ideas on this one as it's been driving me crazy for over a couple of days now.

Thanks,
Matt

18 Oct 2012, 10:18 AM
#2
zan_dude avatar

zan_dude

New Zenner

Join Date:
Sep 2012
Posts:
27
Plugin Contributions:
0

Re: Currency Default Symbols in Invoices where do they get pulled from ?

I've sort of fixed this issue now. I'm fixed this now but not entirely sure why it fixed itself.

Basically i edited the Admin>Invoice.php and removed a couple of columns for TAX Price Inc and Total Inc and then miraculously the pdf generated with correct £ symbols.