FrontAccountingERP / FA

Official FrontAccounting mirror repository
94 stars 96 forks source link

Customer credit limit in SO is wrong #44

Open aksikitaindonesia opened 3 years ago

aksikitaindonesia commented 3 years ago

In my case the customer credit limit calculation:

The fix:

I've tested the SQL query using the unswitched version and the result was wrong. After I switched the position, the SQL query result was correct. I've fixed this in my code and it's working properly right now.