How To Remove Trailing Zeros At The End Of Figures

0

In some section (product edit, reports etc...) Figures display trailing zeros at the end. Which is very confusing.

To solve this, I disabled Decimal and Quantity Decimals in the settings. Yet not solved.

Kindly direct me on how to solve this?

Question Resolved For: Simple POS - Point of Sale Made Easy 0 Votes 3 Answers 337 Views
Asked by Dere Ezekiel 4 years ago

0

Answered by Mian Saleem 4 years ago

Hello,

If you are talking about input value then it's the exact value from db and I don't think adding format on inputs is in the plan. For reports, can you please take the screenshot so that I can check.

Thank you

0

Answered by reid123 4 years ago

Mian Saleem Hello,
I am trying to pass the total amount to Square to process the payment. The total that's passed is 0. Are you able to help me figure out why the id "total-payable" is not passing the total. I debugged the code and I see the Id value has the total amount not 0.

0

Answered by Mian Saleem 4 years ago

Hello,

I have no idea how are you doing this but you can get the amount with grand_total variable in javascript. You can try in console console.log(grand_total); to print the amount.

Thank you

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.