MIFOSX-1256 1.Filter for charges added in create/edit Fixed/Recurring de...

...posit Applications of Client and for CreateSavingsProduct/EditSavingsProduct. 2.Filter for charges added for Add new charge pages of Loan/Savings/Fixed/Recurring Applications
This is a very expensive operation (we are getting a FD account with all its dependencies ) when all we really want is the currency. Same comments apply for the four controllers below.

There are two ways of doing this

1) UI fix: Set the currency data in a shared service in the ViewFixedDeposit Controller , which can then be accessed and put into its scope by the Charge Controller

2)Fix underlying API:  Modify the REST Template API (Ex https://demo.openmf.org/mifosng-provider/api/v1/loans/4940/charges/template ) to only return the charges with the same currency as that of the Loan. So we do not need filters at all.

IMHO, option 2 is the way to go