[ 
http://mifosforge.jira.com/browse/MIFOS-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57157#action_57157
 ] 

jbrewster commented on MIFOS-2154:
----------------------------------

Verified on 1.4.x branch that now the repayment schedule is not updated if the 
loan is disbursed after the original disbursal date AND before the first 
repayment date.  If disbursal is done after original first disbursal date, the 
repayment schedule shifts forward.  

testing notes in verifying this issue:

(All dates are shown below as dd/mm/yyyy)

Group with weekly meetings on Tuesdays:

two weekly loans with disbursal date of 23/03/2010.
first installment date is 30/03/2010.
1. stop system, move system date forward to 25/03/2010.
2. disburse 1 loan on 25/03/2010.  first repayment is due on 30/03/2010.  ==> 
schedule not modified, OK
3. stop system, move system date forward to 7/4/2010.
4. disburse 2nd loan on 7/4/2010.  Repayment schedule is modified, now first 
repayment is due on 13/4/2010.


montly meeting with meetings on 1st of every month:

three monthly loans with dibursal date of 1/4/2010
first installment date is 1/5/2010

1. stop system, move system date forward to 7/4/2010.
2. disburse 1 montly loan on 7/4/2010, but leave disbursal date as 1/4/2010  
==> payment schedule not modifed, OK
3. stop system, move system date forward to 5/5/2010.
4. with system date set to 5/5/2010, disburse 2nd loan with disbursal date of 
30/4/2010.
4. repayment schedule is not modified, first repayment is due one day later on 
1/5/2010.  
(minDaysBetweenDisbursalAndFirstRepaymentDay is set to 1)
5. with system date still set to 5/5/2010, disburse 3rd loan with disbursal 
date of 5/5/2010
6. repayment schedule is modified, now first repayment is due on 1/6/2010.




> Repayment schedule is updated incorrectly when disbursing loan on the day 
> after the original disbursal date
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: MIFOS-2154
>                 URL: http://mifosforge.jira.com/browse/MIFOS-2154
>             Project: mifos
>          Issue Type: Bug
>          Components: Loan Account
>    Affects Versions: Release 1.1
>         Environment: Platform: All, OS: All
>            Reporter: aliyaw
>            Assignee: Van Mittal-Henkle
>            Priority: Blocker
>             Fix For: Gazelle C
>
>
> REPRO:
> ======
> 1. Set the system date to August 26, 2008 
> 2. Deploy Mifos v1.1 and enable LSIM
> 3.  Create a client with meetings on Tuesdays
> 4.  Create a loan account with repayments on TUesdays and with a disbursal 
> date
> of Aug 26, 2008.  Approve the loan account.
> 5.  View the repayment schedule.  First repayment should be on September 2, 
> 2008
> 6.  Stop the application server and set the system date forward to Aug 27, 
> 2008
> 7.  Search for the loan account and disburse the loan - modifying the 
> disbursal
> date to Aug 27, 2008.
> 8.  View the repayment schedule now that the loan has been disbursed.
> OBSERVED
> ========
> First repayment day has been shifted by 1 week to September 9, 2008
> EXPECTED
> =========
> First repayment day should remain at September 2, 2008 since there are still 6
> days between the disbursal and first repayment, so it doesn't violate the
> constraints on the minimum days between disbursal and first repayment. 
> September 2 is the first valid repayment day for the loan, not September 9.

-- 
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

        

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to