This bug is related to Mantis Bug 5510 on Mantis. Fixed a couple of days ago.
Please download /sales/includes/db/custalloc_db.inc here.
And please download /reporting/rep108.php here.Replace the files and you should be running ok.
Joe
Still same issue
this is what i did
First Order Amount to be collected $50 from end customer. Fees $10.
Direct Invoice -> made an invoice of $10. Payment terms -> due within 10 days.
input an address and I have -> placed invoice.
Sales -> Customer Payments. This allocation which is for invoice -> All -> Add Payment
Banking and General Ledger -> Journal Entry -> Account : Checking account Dr. 40 -> Add Item -> Account: Account receivable -> Counter Party (Customer) -> Cr. 40 -> Process Journal Entry.
Second Order No Amounts to be collected from end customer. Fees $10.
Direct Invoice -> made an invoice of $10. Payment terms -> due within 10 days.
input an address and I have -> placed invoice.
Before second payment the Customer balance Report is correct but the payment is still outstanding in sales> customer payments.
So, if I want to clear this payment (second payment) the customer balance report will become incorrect. it should reconcile with the customer balance from the beginning which is the $40 that is in the customer account. As in with the customer balance report it becomes $ -30 and the payment is still pending.
If I do the payment, the balance changes back to $ -40.
so the bug is still there
Regards