Bug Report: Wrong Amount after editing payment

Wrong Amount after editing payment

Steps to reproduce: Add Sale Make Partial Payment In Admin section -> POS Sale -> THE sale -> Add Payment Enter wrong figure and not actual balance. (Eg. If due is $4, enter anything other

HS

Harpreet Singh

Reported
Steps to reproduce:

Add Sale
Make Partial Payment
In Admin section -> POS Sale -> THE sale -> Add Payment
Enter wrong figure and not actual balance. (Eg. If due is $4, enter anything other than 4, 5 for instance)
View Payments -> Edit the wrong payment -> Update with correct figure (4 in this example)
Click on POS record in POS Sale page
The payment received section still shows 5 instead of 4.

Upon investigating the database, I found out that when we modify the payment, only ```sma_payments.amount``` column is being updated, but the ```sma_payments.pos_paid``` is kept as such.

Proposed solution: Just use ```sma_payments.amount``` column everywhere and discard (or ignore) ```pos_paid```.
  • MS

    Mian Saleem

    Answered
    There is no option to change the received record of pos sales. You only can edit the payment that should reflect on the sales accordingly.
  • HS

    Harpreet Singh

    Answered
    The ```View Payments``` modal allows to edit all the payments related to current sale, including POS sales.
  • MS

    Mian Saleem

    Answered
    Yes, but it doesn't have any option for the accepted & change amount of POS
  • Login to Reply