Hello Support,
As you will see in the attached screenshots that in the Settings, “Money and Number Format” the Decimals is Disabled. We are using customer Pole displays, the total invoice value displayed on the Pole screen is different than the acual invoice value!
I would like to know your feedback and how to get this issue solve?
Regards,
- MSAnswered
Hello,
Yes, pole display script adds decimals. If you want to remove it, please edit
themes/default/admin/assets/pos/js/pole.js
and search for.toFixed(2)
around line no 62 and delete the.toFixed(2)
Thank you
- MAAnswered
Hello,
We implemented the suggested solution, But still the same.
Any other suggestions to solve it.
Regards,
- MSAnswered
Hello,
No, that’s the only code that added the decimals. Please clear browser cache after modifying the code then test.
Thank you
- MAAnswered
Hi Saleem,
We did clear for the browser cache and it did not solve the problem! And, even though that we tried and tested by using a different pole display from other brand and yet the problem remaining there!
What it could be the reason?
Regards,
- MSAnswered
Can you show me the modified file?
- MAAnswered
Hi,
Attached are snapshots taken from the js file, the first is the exact line before the change and the other is it after the change.
Attachments - MSAnswered
Hello,
Please search the
themes/default/admin/assets/pos/js/pole.js
and remove all.toFixed(2)
This files added decimals to grand total and the item prices too. Once you remove it should follow your system settings for decimals.
Thank you
- MAAnswered
Hi,
Please refer to your first response to this question. This response is the same and did not have any effect as mentioned previously!
- MSAnswered
Hello,
Please download the attached
pole.zip
file and extract it to getpole.js
file. You can copy thepole.js
and replacethemes/default/admin/assets/pos/js/pole.js
Once done, please clear browser cache and if you are using any other cache plugin/module on your server like CloudFlare or any other please clear that cache too before testing it.
Thank you
Attachments - MAAnswered
Hello Saleem,
We replaced the js file with the one you share with us, the three digits are solved but the comma separator not showing in the pole. And, when more than one product sales added the lines are interfering and non readable at the pole display. Attached screenshots for your reference for more clarify about the issue. If you want to test it by your self, just let me know, so I can share with you the login details on private message.
I am keen to hear from you soon,
Mazyad.
- Login to Reply