Page 1 of 1

Problem with numbers round.

Posted: 09 Mar 2010, 18:53
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

Re: Problem with numbers round.

Posted: 09 Mar 2010, 20:49
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 :-(

Re: Problem with numbers round.

Posted: 09 Mar 2010, 21:05
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

Re: Problem with numbers round.

Posted: 09 Mar 2010, 23:52
by Jan
:idea: if the value is comming from the database, maybe looking there. :idea:

Re: Problem with numbers round.

Posted: 11 Mar 2010, 12:06
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 ;)

Re: Problem with numbers round.

Posted: 11 Mar 2010, 14:32
by Jan
Ok, if you will find something, just let me know.

Thank you, Jan