[ 
http://mifosforge.jira.com/browse/MIFOS-3878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michał Orzechowski reassigned MIFOS-3878:
-----------------------------------------

    Assignee: jbrewster  (was: Michał Orzechowski)

I fixed previous problem (wrong validation), however on preview page when I try 
to submit second adjustment, new error occurs: 
"The amount cannot be adjusted either because the status is not yet active or 
because a payment was received at the time of disbursement." (new_error.jpg). 

This error is caused by those lines of code:
for (AccountTrxnEntity accntTrxn : getLastPmnt().getAccountTrxns()) {
    if  
(accntTrxn.getAccountActionEntity().getId().equals(AccountActionTypes.CUSTOMER_ADJUSTMENT.getValue()))
 {
                return false;
            }
        }
It looks like if there was an cutromer adjustment in history, the payment can 
not be adjusted. Can you tell me is this an expected behaviour ?

> Only latest payment for Center can be adjusted
> ----------------------------------------------
>
>                 Key: MIFOS-3878
>                 URL: http://mifosforge.jira.com/browse/MIFOS-3878
>             Project: mifos
>          Issue Type: Bug
>          Components: Centers
>    Affects Versions: Release E
>            Reporter: Michał Orzechowski
>            Assignee: jbrewster
>             Fix For: Release E, Release E - Unscheduled
>
>         Attachments: 1.jpeg, 2.jpeg, 3.jpeg, new_error.jpeg
>
>
> Only latest payment for center can be adjusted. After that if one try to make 
> an adjustment, error "There is no adjustment to be made since the Last 
> Payment made is Zero." is shown.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to