#100 Unable to accept customer debt payment (patch included)

v3.56
closed
nobody
None
1
2014-07-31
2014-03-24
Ron Isaacson
No

In 3.56 with mysql, it's not possible to accept a Customer Payment to pay down debt on a customer account. It always fails with a db error, saying the curdebt field cannot be null. The fix is simple -- in CustomerInfoExt, the updateCurDebt function should set the debt to 0 instead of null when it's paid off. Hopefully this is compatible across all other database backends as well. A 1-line patch is attached for convenience.

1 Attachments

Related

Discussion: Debt feature not fully implemented?

Discussion

  • uniCenta
    uniCenta
    2014-07-31

    • status: open --> closed