[ 
http://mifosforge.jira.com/browse/MIFOS-3670?page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel\#worklog-{worklog.getId()}
 ]

jasmine sandhu logged work on MIFOS-3670:
-----------------------------------------

                Author: jasmine sandhu
            Created on: 10/Nov/11 10:59 AM
            Start Date: 09/Nov/11 10:54 AM
    Worklog Time Spent: 3 hours 
      Work Description: Number format must be specified in the view templates 
(JSP or Freemarker) so it can be displayed correctly per the locale.

In FreeMarker:
-------------------

As an example, look at createLoanAccountPreview.ftl. It is using the Freemarker 
built-in method called string.number which formats the number per the locale. 
There is a builtin called string.currency - from the Freemarker documentation, 
the string.currency builtin should format currency numbers per the locale.

In JSP:
---------

For the old struts/JSP code, figure out which variables are displaying currency 
and include a the proper JSP syntax, something like the following:
<fmt:formatNumber value="${variable}" type="currency" />

Maybe safer to use type="number" for everything that displays a number. It 
should display the thousand separator correctly.


Issue Time Tracking
-------------------

            Worklog Id:     (was: 10261)
            Time Spent: 3 hours
    Remaining Estimate: 0 minutes

> Ability to include thousand separator when displaying values of loans, 
> savings etc
> ----------------------------------------------------------------------------------
>
>                 Key: MIFOS-3670
>                 URL: http://mifosforge.jira.com/browse/MIFOS-3670
>             Project: mifos
>          Issue Type: Improvement
>          Components: Navigation and UI
>            Reporter: Gayl Kennedy
>            Assignee: mifosdeveloperqueue
>              Labels: community
>             Fix For: Unscheduled
>
>          Time Spent: 3 hours
>  Remaining Estimate: 0 minutes
>
> For some currencies this will not be an issue but we are disbursing loans of 
> 5000 and 50,000 depending on the cycle number of the client so it would be 
> great if we could configure it to include a thousand separator or if this 
> became the default for a future version of mifos.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://mifosforge.jira.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to