Moving this to the functional list as its more appropriate there

I would expand on Puspadhar¹s request and add in a more feature request for
adding in flexible product requirements.  So instead of just putting in age
check, the MFI could easily configure different type of loan checks that are
relevant to their operations.

Ryan


On 9/10/09 10:13, "Puspadhar Das" <[email protected]> wrote:

> Dear Adam,
> 
> This could be a nice improvement.
> 
> There was another suggestion to enforce different age ranges for different
> products. Can we also think of that?
> 
> Clients will be added without the age range check. When a loan account is
> created, then client age will be checked. This could be a property of the loan
> product offering.
> 
> Thanks and regards,
> 
> Puspadhar Das
> Asomi
> 
>> > Date: Wed, 9 Sep 2009 18:38:07 -0400
>> > From: [email protected]
>> > To: [email protected]
>> > CC: [email protected]
>> > Subject: [Mifos-developer] FEATURE: enforced age range for new clients
>> > 
>> > Hi Chandan!
>> > 
>> > Thanks for the additional details.
>> > 
>> > If you submit a patch, someone will review it and give you feedback.
>> > Your patch should be applicable to the latest trunk revision at the time
>> > of patch creation.
>> > 
>> > While creating your patch, consider
>> > http://www.mifos.org/developers/wiki/VettingPatches and
>> > http://tinyurl.com/lar9z2 (Code Submission Process).
>> > 
>>> > > I use this to check if functions getDateOfBirthDD,
>>> > > getDateOfBirthMM, getDateOfBirthYY return integer values
>> > 
>> > Great! This sounds like a useful bit of validation logic to have in
>> > Mifos. Can you find a more general place to add the validation code so
>> > that date parts are _always_ enforced to be integers? It would be best
>> > if every date input in every form behaved similarly.
>> > 
>>> > >      Added another function
>>> > > Age() which calculates the age, again I did this because
>>> > > for some reason getAge() always returned zero even though I didn't find
>>> > > any errors
>>> > > in the code for setage in the dateUtils. It probably
>>> > > doesn't called.
>> > 
>> > There is probably some extant code to calculate age (like perhaps
>> > DateUtils.DateDiffInYears). Please try to reuse code instead of writing
>> > a new function to calculate age. DateUtils.DateDiffInYears(int) may need
>> > some work.
>> > 
>> > I suggest the following in applicationConfiguration.default.properties:
>> >         
>> >         # Mutability: always
>> >         # Type: short
>> >         # Allowed: 0 - 150
>> >         # Minimum allowed age for newly created clients. Setting this
>> >         value
>> >         # to 0 means a minimum age will not be enforced.
>> >         ClientRules.MinimumAgeForNewClients=0
>> >         
>> >         # Mutability: always
>> >         # Type: short
>> >         # Allowed: 0 - 150
>> >         # Maximum allowed age for newly created clients. Setting this
>> >         value
>> >         # to 0 means a maximum age will not be enforced.
>> >         ClientRules.MaximumAgeForNewClients=0
>> > 
>> > Unit tests should cover this functionality (such as
>> > ClientCustActionFormTest).
>> > 
>> > I added a feature request for the ability to specify an acceptable age
>> > range for new clients:
>> > https://mifos.dev.java.net/issues/show_bug.cgi?id=2500
>> > 
>> > You may attach the patch to that issue.
>> > 
>>> > > Also they told me that they would want a similar verification for
>>> > > personnel. But with just a minimum age limit of 18. So I will probably
>>> > > replicate this setup there.
>> > 
>> > Please enter a feature request in our issue tracker. You may use #2500
>> > as a template (although I would suggest much more detail in the
>> > description).
>> > 
>> > ***********************************************************************
>> > It would also be helpful to hear from other folks at other MFIs if this
>> > feature is desired and, if so, how it should work. This information is
>> > critical for determining whether this feature should be part of Mifos.
>> > ***********************************************************************
>> > 
>> > Thanks!
>> > -Adam
> 
> 
> Date India¹s Teen Diva. Find out if you hit it off with her or are her fiery
> opposite. Drag n¹ drop <http://www.WindowsLivePlanet.com/DateDiva>
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july

-- 
Ryan Whitney  
Mifos Technical Program Manager
[email protected]
Mifos - Technology that Empowers Microfinance (www.mifos.org) 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mifos-functional mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-functional

Reply via email to