Problem with numbers round.

Phoca PDF - creating PDF documents in Joomla! CMS
Albat90
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Mar 2010, 18:44

Problem with numbers round.

Post by Albat90 »

Hi,

I constated that I've a problem when I create a bill with virtuemart.
Indeed, The cents between website and pdf are not same. Maybe 2 or 3 cents of difference.
This problem from taxe TVA and round.
Anyway, I don't know what I should do for repair it :S

Thank you for your answers, and sorry for my bad english, I'm french ;)

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

Re: Problem with numbers round.

Post by Jan »

Hi, if there is some difference in the output, then this needs to be customized in the code ... see the files in the ZIP package to customize it :-(
If you find Phoca extensions useful, please support the project
Albat90
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Mar 2010, 18:44

Re: Problem with numbers round.

Post by Albat90 »

Hi,

Yeah, thank you. I already look the code, during all the day :P
hummm, I found how to remove some sentences. I found how to change price generated.
But I don't know where the price is round? :S

In fact, the file php call class for round number. So, I don't find it.
And, maybe, I thought the problem came from class ps_db. I read someday, it had a bug, but I think it's ok now ^^

Thanks for your message.

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

Re: Problem with numbers round.

Post by Jan »

:idea: if the value is comming from the database, maybe looking there. :idea:
If you find Phoca extensions useful, please support the project
Albat90
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Mar 2010, 18:44

Re: Problem with numbers round.

Post by Albat90 »

Hi,

Yes, the value is comming from database. But I don't think the problem comes from database because when I use virtuemart administration, the bill is ok. Then, I think the problem come from delivery.pdf.php.

I'm still looking for this :)

Albat90 ;)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with numbers round.

Post by Jan »

Ok, if you will find something, just let me know.

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