Sales Payment Summary showing payment wrong

sales payment summary , the report is showing total wrong what it’s doing its getting value from total paid amount, it should show from total amount.
If i sale 10$ and customer gave me 50$ i will put in payment 50$ and return to customer 40$. at the end of day when i run payment summary report its showing total payment 50$, which is wrong. we already gave 40$ to the customer. total sale is 10$ and total payment should we 10$.
anyone have same problem ?

anyone ?

Try making your change account the same as your cash account

Regards

Hi
Thank you for reply , its same account i am using for both change and cash.