[ http://mifosforge.jira.com/browse/MIFOS-2730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mohammad Shahiduzzaman updated MIFOS-2730: ------------------------------------------ Attachment: query.sql mifos-2730.patch I am trying to fix this issue. It seemed to be a simple issue. But after starting, I have to look at here and there of mifos codebase to solve this issue, so it is a good exercise for me. There are five fields mentioned in the issue to make those configurable mandatory. Of those five, Government ID is already done by someone, cause I found it to be configurable mandatory in the latest svn code. Among the rest four- two (Client Middle Name, Business Activities) are relatively easy to make configurable mandatory as those are already present as configurable hidden fields. So those are already in the field_configuration table. To do with Marital Status and Number of Children, I needed to add entry to the field_configuration database table. I also needed to modify a mifos custom tag - MifosNumberTextTag (which is used to render number of children) as it doesn't have check for configurable mandatory fields. Tags like MifosAlphaNumTextTag already has this check. So far, my patch has two limitations. I haven't standardized my database changes, just including the necessary insertion sql with this mail. Second, I should have write/modify some tests in HiddenMandatoryConfigurationActionStrutsTest to test the new mandatory fields. > Allow more fields to be mandatory > --------------------------------- > > Key: MIFOS-2730 > URL: http://mifosforge.jira.com/browse/MIFOS-2730 > Project: mifos > Issue Type: Improvement > Components: Configuration > Affects Versions: Release 1.4 > Reporter: Sam Birney > Assignee: Mohammad Shahiduzzaman > Priority: Major > Fix For: Gazelle Backlog > > Attachments: mifos-2730.patch, query.sql > > > Would be very helpful if configuration is enabled to make more fields > mandatory, since data entry people have a way of frequently skipping > non-mandatory fields despite being trained not to do so. Fields that are > desired to be able to make mandatory: > * Client Middle Name > * Government ID > * Marital Status > * Number of Children > * Business Activities -- 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 Mifos-issues@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mifos-issues