How to use country_name instead of country_3_code in invoice

Before you ask about IDnR Addon see the VirtueMart - Invoice, Delivery Note and Receipt Addon
kseones
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 24 Aug 2010, 10:24

How to use country_name instead of country_3_code in invoice

Post by kseones »

I would like to have instead of country code full names of countries in invoices, how can i do that?

Thanks

Remzi
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to use country_name instead of country_3_code in inv

Post by Jan »

Hi, sorry I don't understand, I see the country names there?

See the examples here:

https://www.phoca.cz/documents/18-virtue ... eipt-addon

first: California - United States e.g.

Jan
If you find Phoca extensions useful, please support the project
kseones
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 24 Aug 2010, 10:24

Re: How to use country_name instead of country_3_code in inv

Post by kseones »

I don't now in our invoices we have only country codes.

Image

Code: Select all

$this->Cell(0,0,$hD['dbst']->f("country"),0,0,'L');
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to use country_name instead of country_3_code in inv

Post by Jan »

Hi, you should use the newest version of the addon, see:
https://www.phoca.cz/documents/18-virtue ... eipt-addon

Jan
If you find Phoca extensions useful, please support the project
Post Reply