Jump to content

Reverse Numbers in pdf invoice


fatyas

Recommended Posts

Hi,

 

I have a very weird problem in pdf invoice. It would be great if someone could help me with a solution.

 

In the total-tab and payment-tab sections, when the number is 7 digits it is displayed in reverse!!

 

For example: if total amount of order is $1,000,000, in pdf invoice it will display: $000,000,1

 

The funny part is that it works well for 6 digit numbers or 8 digit numbers!!!

 

So for example if total amount paid is $15,000,000 or $500,000 then the numbers are displayed correctly in the pdf.

In the product table the numbers are always displayed correctly regardless of number of digits!!! 

This is driving me crazy  :wacko:

 

Any one has a clue why that happens with 7 digits?

post-299236-0-92643000-1485299303_thumb.jpg

post-299236-0-80476700-1485299304_thumb.jpg

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...