Question: Total Paid And Balance Have An Incorrect Values

Total Paid And Balance Have An Incorrect Values

Hi, When I finish a sale a got an invoice like this: (screenshot) what is the problem please? pos sales error: total paid and balance have an incorrect values I m using the last app versio

MB

Mehdi boudhir

Asked
Hi, When I finish a sale a got an invoice like this: (screenshot) what is the problem please?
pos sales error: total paid and balance have an incorrect values
I m using the last app version.
I m using direct cash amount: total amount 50, customer pay 50
I m using the green payment button directly
but I got these errors
regards
  • MB

    Mehdi boudhir

    Answered
    is there possibilities that error causes from order_ref number keeps the same values without increment or any other payments table?
    How to fix it?
  • MB

    Mehdi boudhir

    Answered
    If you need,
    I can send you the database file to check with it.
  • MB

    Mehdi boudhir

    Answered
    database file screenshot
  • MB

    Mehdi boudhir

    Answered
    logs folder files: I didn't make any of these actions. No of these products are mine or shown in my pos screen. No of these database records belongs of my application. you can see that. I think it is a pirates or hackers attacks or sql injection.
    I thinks my code files and database tables are modified by an external ressources in the same time.
    How can I fix my system without losing my old sales and data?
  • MS

    Mian Saleem

    Answered
    Hello,

    Open you database in phpmyadmin and then check the data of sma_payments table. You can delete all record for where sale_id
    is grater then you current sale

    Thank you
  • MB

    Mehdi boudhir

    Answered
    the problem is still coming with the new sales.
    How to fix that
  • MB

    Mehdi boudhir

    Answered
    Now ,it works fine for the new sales. but it keeps the old wrong payment sales.
  • MB

    Mehdi boudhir

    Answered
    How can I merge the new with the old sales? I tried exporting and importing csv sales files and export database table but I failed I got duplicates or missing entries
  • MB

    Mehdi boudhir

    Answered
    Hi , bro
    can I use my application now? if you try to test it please logout
  • MB

    Mehdi boudhir

    Answered
    Hello, please this error come back
  • Login to Reply