[
http://mifosforge.jira.com/browse/MIFOS-2709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56844#action_56844
]
Udai Gupta commented on MIFOS-2709:
-----------------------------------
fixed in trunk(r16736)
Additional fees validation fixed for Rate Fee and Amount Fee.
Only Rate fee has trailing zero.
Now the validation will not fail because rate fee uses
digitsAfterDecimalForInterest but the trailing zero will not be removed because
of double to string conversion. To get right behavior i.e not having trailing
zero for rate fees at digitsAfterDecimal=0 we need to get rid of double data
type for Rate and use BigDecimal and add formatting like Money for BigDecimal
Rate fees. The change for Double to BigDecimal data type for Rate fee has not
been made in this fix, because it will hit lots of places in code and the trunk
has lots of change now compared to 1.4.x branch it will be difficult to merge
those changes for hotfix.
> Have to remove .0 in periodic loan fee when attaching to loan account in loan
> account creation with digitsafterdecimal = 0
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: MIFOS-2709
> URL: http://mifosforge.jira.com/browse/MIFOS-2709
> Project: mifos
> Issue Type: Bug
> Components: Loan Account
> Affects Versions: Gazelle C
> Reporter: Kay Chau
> Assignee: Udai Gupta
> Fix For: Gazelle C
>
>
> To repro:
> Navigate to client to create a new loan account. In loan account creation,
> at the bottom, attach a loan fee that is periodic. Periodic loan fee pops up
> to let's say 1.0. Click Continue.
> Error message
> The addtional fee is invalid because the number of digits after the decimal
> separator exceeds the allowed number 0
> Work around is to remove the .0. Hassle for the user.
> This happens when you do this in the first time, and then also after you
> remove the .0, click Preview, and decide to come back to edit and add another
> periodic loan fee.
--
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
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues