Change Date Format phoca pdf Invoice

Before you ask about IDnR Addon see the VirtueMart - Invoice, Delivery Note and Receipt Addon
Siirmike
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 22 Nov 2010, 14:37

Change Date Format phoca pdf Invoice

Post by Siirmike »

Hello,
Can someone tell me, how I can change the date format in phoca pdf Invoice ?
I need the German format DD.MM.YYYY
I have the new version and there is no statement like this :

$q = "SELECT *, FROM_UNIXTIME(cdate, '%Y-%m-%d') as order_date";

in the ps_delivery.php

Virtuemart 1.5 is installed.

I hope someone could me help.

PS: Sorry for my bad english
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Change Date Format phoca pdf Invoice

Post by Jan »

Hi, you can find it now in helper of the plugin, see:
plugins\phocapdf\virtuemart\virtuemarthelper.php

Jan
If you find Phoca extensions useful, please support the project
Siirmike
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 22 Nov 2010, 14:37

Re: Change Date Format phoca pdf Invoice

Post by Siirmike »

Thanks for this fast answer !
It works !
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Change Date Format phoca pdf Invoice

Post by Jan »

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