• Resolved jcrg1967

    (@jcrg1967)


    Greetings. When creating a payment order I can not enter this amount (0.07). The error I get is the following: “Line price should be greater than zero” when the amount that I must enter is 0.07. If you can help me Thank you

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • @jcrg1967,

    I have let our developer know about this issue and it will be fixed in the next release.

    Thank you.

    @jcrg1967,

    You can also do the following which is going to fix the ” “Line price should be greater than zero” issue:

    First of all, You will have to comment out the lines no. 931-934 of “erp-accounting.js

    Here’s the file location: /wp-content/plugins/wp-erp/modules/accounting/assets/js/erp-accounting.js

    Please check out this screenshot: https://prnt.sc/kjn13s

    Then also make sure to comment out the lines no. 558-560 of “class-form-handler.php” file.

    Check out the screenshot: https://prnt.sc/kjn29o

    Here’s the file location: /wp-content/plugins/wp-erp/modules/accounting/includes/class-form-handler.php

    This should fix the “Line price should be greater than zero” error.

    I hope this helps you out. Let me know the update.

    Thank you.

    • This reply was modified 6 years, 3 months ago by Rafin.
    Thread Starter jcrg1967

    (@jcrg1967)

    Thank you very much.
    I was able to correct the error by modifying the line 931 in /wp-content/plugins/wp-erp/modules/accounting/assets/js/erp-accounting.js: if (self.val () == 0.009) {
    Just modify this and now I can enter decimal numbers like this: 0.07
    Thank you very much

    @jcrg1967,

    I am glad that it’s all working fine now.

    Please mark this topic as resolved now.

    Cheers.

    Thread Starter jcrg1967

    (@jcrg1967)

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I can not enter an amount with decimals’ is closed to new replies.