[ 
https://issues.apache.org/jira/browse/FINERACT-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shaik Nazeer Hussain closed FINERACT-61.
----------------------------------------
    Resolution: Fixed
      Assignee: subramanyasn  (was: Markus Geiss)

Tested by Subramanya and working as expected.

> Incorrect penalty and fee charges amount inserted into the 
> "m_loan_arrears_aging" table
> ---------------------------------------------------------------------------------------
>
>                 Key: FINERACT-61
>                 URL: https://issues.apache.org/jira/browse/FINERACT-61
>             Project: Apache Fineract
>          Issue Type: Bug
>            Reporter: Emmanuel Nnaa
>            Assignee: subramanyasn
>            Priority: Minor
>
> The "waived charges amount" and "written-off charges amount" are not deducted 
> from the charges amount when calculating the "penalty charges overdue" or 
> "fee charges overdue".
> *Example:*
> The "fee charges overdue" query should be:
> {code}
> SUM(ifnull(mr.fee_charges_amount, 0) - 
> ifnull(mr.fee_charges_writtenoff_derived, 0) - "
>                       + "ifnull(mr.fee_charges_waived_derived, 0) - 
> ifnull(mr.fee_charges_completed_derived, 0))
> {code}
> and not: 
> {code}
> SUM((ifnull(mr.fee_charges_amount,0)  - 
> ifnull(mr.fee_charges_completed_derived, 0)))
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to