diff --git a/mifosng-data/src/main/java/org/mifosng/data/command/CommonLoanProperties.java b/mifosng-data/src/main/java/org/mifosng/data/command/CommonLoanProperties.java
deleted file mode 100644
index 038e2275a..000000000
--- a/mifosng-data/src/main/java/org/mifosng/data/command/CommonLoanProperties.java
+++ /dev/null
@@ -1,184 +0,0 @@
-package org.mifosng.data.command;
-
-import java.math.BigDecimal;
-
-import javax.xml.bind.annotation.XmlRootElement;
-
-@XmlRootElement
-public class CommonLoanProperties {
-
- private String currencyCode;
- private Integer digitsAfterDecimal;
-
- private BigDecimal principal;
-
- private Integer repaymentEvery;
- private Integer repaymentFrequency;
- private Integer numberOfRepayments;
- private Integer amortizationMethod;
- private BigDecimal inArrearsToleranceAmount;
-
- private BigDecimal interestRatePerPeriod;
- private Integer interestRateFrequencyMethod;
- private Integer interestMethod;
- private Integer interestCalculationPeriodMethod;
-
- private boolean flexibleRepaymentSchedule = false;
- private boolean interestRebateAllowed = false;
-
- public CommonLoanProperties() {
- //
- }
-
- public CommonLoanProperties(final String currencyCode,
- final Integer digitsAfterDecimal, final Number principal,
- final Number interestRatePerPeriod, Integer interestRateFrequencyMethod,
- final Integer interestMethod, final Integer interestCalculationPeriodMethod,
- final Integer repaymentEvery, final Integer repaymentFrequency, final Integer numberOfRepayments, Integer amortizationMethod, final Number toleranceAmount,
- final boolean flexibleRepaymentSchedule,
- final boolean interestRebateAllowed) {
- this.currencyCode = currencyCode;
- this.digitsAfterDecimal = digitsAfterDecimal;
- if (principal != null) {
- this.principal = BigDecimal.valueOf(Double.valueOf(principal.doubleValue()));
- }
-
- if (interestRatePerPeriod != null) {
- this.interestRatePerPeriod = BigDecimal.valueOf(Double.valueOf(interestRatePerPeriod.doubleValue()));
- }
- this.interestRateFrequencyMethod = interestRateFrequencyMethod;
- this.interestMethod = interestMethod;
- this.interestCalculationPeriodMethod = interestCalculationPeriodMethod;
-
- this.repaymentEvery = repaymentEvery;
- this.repaymentFrequency = repaymentFrequency;
- this.numberOfRepayments = numberOfRepayments;
- this.amortizationMethod = amortizationMethod;
- this.inArrearsToleranceAmount = BigDecimal.valueOf(Double.valueOf(toleranceAmount.toString()));
-
- this.flexibleRepaymentSchedule = flexibleRepaymentSchedule;
- this.interestRebateAllowed = interestRebateAllowed;
- }
-
- public String getCurrencyCode() {
- return this.currencyCode;
- }
-
- public void setCurrencyCode(final String currencyCode) {
- this.currencyCode = currencyCode;
- }
-
- public Integer getDigitsAfterDecimal() {
- return this.digitsAfterDecimal;
- }
-
- public void setDigitsAfterDecimal(final Integer digitsAfterDecimal) {
- this.digitsAfterDecimal = digitsAfterDecimal;
- }
-
- public Integer getRepaymentEvery() {
- return this.repaymentEvery;
- }
-
- public void setRepaymentEvery(final Integer repaymentEvery) {
- this.repaymentEvery = repaymentEvery;
- }
-
- public Integer getRepaymentFrequency() {
- return this.repaymentFrequency;
- }
-
- public void setRepaymentFrequency(final Integer repaymentFrequency) {
- this.repaymentFrequency = repaymentFrequency;
- }
-
- public boolean isFlexibleRepaymentSchedule() {
- return this.flexibleRepaymentSchedule;
- }
-
- public void setFlexibleRepaymentSchedule(
- final boolean flexibleRepaymentSchedule) {
- this.flexibleRepaymentSchedule = flexibleRepaymentSchedule;
- }
-
- public boolean isInterestRebateAllowed() {
- return this.interestRebateAllowed;
- }
-
- public void setInterestRebateAllowed(final boolean interestRebateAllowed) {
- this.interestRebateAllowed = interestRebateAllowed;
- }
-
- public BigDecimal getPrincipal() {
- return this.principal;
- }
-
- public void setPrincipal(final BigDecimal principal) {
- this.principal = principal;
- }
-
-// public Boolean getFlexibleRepaymentSchedule() {
-// return this.flexibleRepaymentSchedule;
-// }
-
-// public Boolean getInterestRebateAllowed() {
-// return this.interestRebateAllowed;
-// }
-
- public Integer getInterestRateFrequencyMethod() {
- return interestRateFrequencyMethod;
- }
-
- public void setInterestRateFrequencyMethod(Integer interestRateFrequencyMethod) {
- this.interestRateFrequencyMethod = interestRateFrequencyMethod;
- }
-
- public Integer getInterestMethod() {
- return interestMethod;
- }
-
- public void setInterestMethod(Integer interestMethod) {
- this.interestMethod = interestMethod;
- }
-
- public Integer getAmortizationMethod() {
- return amortizationMethod;
- }
-
- public void setAmortizationMethod(Integer amortizationMethod) {
- this.amortizationMethod = amortizationMethod;
- }
-
- public Integer getNumberOfRepayments() {
- return numberOfRepayments;
- }
-
- public void setNumberOfRepayments(Integer numberOfRepayments) {
- this.numberOfRepayments = numberOfRepayments;
- }
-
- public BigDecimal getInterestRatePerPeriod() {
- return interestRatePerPeriod;
- }
-
- public void setInterestRatePerPeriod(BigDecimal interestRatePerPeriod) {
- this.interestRatePerPeriod = interestRatePerPeriod;
- }
-
- public BigDecimal getInArrearsToleranceAmount() {
- return inArrearsToleranceAmount;
- }
-
- public void setInArrearsToleranceAmount(BigDecimal inArrearsToleranceAmount) {
- this.inArrearsToleranceAmount = inArrearsToleranceAmount;
- }
-
- public Integer getInterestCalculationPeriodMethod() {
- return interestCalculationPeriodMethod;
- }
-
- public void setInterestCalculationPeriodMethod(
- Integer interestCalculationPeriodMethod) {
- this.interestCalculationPeriodMethod = interestCalculationPeriodMethod;
- }
-}
\ No newline at end of file
diff --git a/mifosng-data/src/main/java/org/mifosng/data/command/LoanProductCommand.java b/mifosng-data/src/main/java/org/mifosng/data/command/LoanProductCommand.java
deleted file mode 100644
index 5a18f4e78..000000000
--- a/mifosng-data/src/main/java/org/mifosng/data/command/LoanProductCommand.java
+++ /dev/null
@@ -1,200 +0,0 @@
-package org.mifosng.data.command;
-
-import java.math.BigDecimal;
-
-import javax.xml.bind.annotation.XmlRootElement;
-
-@XmlRootElement
-public class LoanProductCommand {
-
- private Long id;
- private String name;
- private String description;
- private String externalId;
-
- private String locale;
- private String currencyCode;
- private Integer digitsAfterDecimal;
- private BigDecimal principal;
- private String principalFormatted;
- private BigDecimal inArrearsToleranceAmount;
- private String inArrearsToleranceAmountFormatted;
-
- private Integer repaymentEvery;
- private Integer repaymentFrequency;
- private Integer numberOfRepayments;
-
- private BigDecimal interestRatePerPeriod;
- private String interestRatePerPeriodFormatted;
- private Integer interestRateFrequencyMethod;
- private Integer amortizationMethod;
- private Integer interestMethod;
- private Integer interestCalculationPeriodMethod;
-
- protected LoanProductCommand() {
- //
- }
-
- public Long getId() {
- return id;
- }
-
- public void setId(Long id) {
- this.id = id;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public String getExternalId() {
- return externalId;
- }
-
- public void setExternalId(String externalId) {
- this.externalId = externalId;
- }
-
- public String getCurrencyCode() {
- return currencyCode;
- }
-
- public void setCurrencyCode(String currencyCode) {
- this.currencyCode = currencyCode;
- }
-
- public Integer getDigitsAfterDecimal() {
- return digitsAfterDecimal;
- }
-
- public void setDigitsAfterDecimal(Integer digitsAfterDecimal) {
- this.digitsAfterDecimal = digitsAfterDecimal;
- }
-
- public BigDecimal getPrincipal() {
- return principal;
- }
-
- public void setPrincipal(BigDecimal principal) {
- this.principal = principal;
- }
-
- public BigDecimal getInArrearsToleranceAmount() {
- return inArrearsToleranceAmount;
- }
-
- public void setInArrearsToleranceAmount(BigDecimal inArrearsToleranceAmount) {
- this.inArrearsToleranceAmount = inArrearsToleranceAmount;
- }
-
- public Integer getRepaymentEvery() {
- return repaymentEvery;
- }
-
- public void setRepaymentEvery(Integer repaymentEvery) {
- this.repaymentEvery = repaymentEvery;
- }
-
- public Integer getRepaymentFrequency() {
- return repaymentFrequency;
- }
-
- public void setRepaymentFrequency(Integer repaymentFrequency) {
- this.repaymentFrequency = repaymentFrequency;
- }
-
- public Integer getNumberOfRepayments() {
- return numberOfRepayments;
- }
-
- public void setNumberOfRepayments(Integer numberOfRepayments) {
- this.numberOfRepayments = numberOfRepayments;
- }
-
- public BigDecimal getInterestRatePerPeriod() {
- return interestRatePerPeriod;
- }
-
- public void setInterestRatePerPeriod(BigDecimal interestRatePerPeriod) {
- this.interestRatePerPeriod = interestRatePerPeriod;
- }
-
- public Integer getInterestRateFrequencyMethod() {
- return interestRateFrequencyMethod;
- }
-
- public void setInterestRateFrequencyMethod(Integer interestRateFrequencyMethod) {
- this.interestRateFrequencyMethod = interestRateFrequencyMethod;
- }
-
- public Integer getAmortizationMethod() {
- return amortizationMethod;
- }
-
- public void setAmortizationMethod(Integer amortizationMethod) {
- this.amortizationMethod = amortizationMethod;
- }
-
- public Integer getInterestMethod() {
- return interestMethod;
- }
-
- public void setInterestMethod(Integer interestMethod) {
- this.interestMethod = interestMethod;
- }
-
- public Integer getInterestCalculationPeriodMethod() {
- return interestCalculationPeriodMethod;
- }
-
- public void setInterestCalculationPeriodMethod(
- Integer interestCalculationPeriodMethod) {
- this.interestCalculationPeriodMethod = interestCalculationPeriodMethod;
- }
-
- public String getPrincipalFormatted() {
- return principalFormatted;
- }
-
- public void setPrincipalFormatted(String principalFormatted) {
- this.principalFormatted = principalFormatted;
- }
-
- public String getInterestRatePerPeriodFormatted() {
- return interestRatePerPeriodFormatted;
- }
-
- public void setInterestRatePerPeriodFormatted(
- String interestRatePerPeriodFormatted) {
- this.interestRatePerPeriodFormatted = interestRatePerPeriodFormatted;
- }
-
- public String getInArrearsToleranceAmountFormatted() {
- return inArrearsToleranceAmountFormatted;
- }
-
- public void setInArrearsToleranceAmountFormatted(
- String inArrearsToleranceAmountFormatted) {
- this.inArrearsToleranceAmountFormatted = inArrearsToleranceAmountFormatted;
- }
-
- public String getLocale() {
- return locale;
- }
-
- public void setLocale(String locale) {
- this.locale = locale;
- }
-}
\ No newline at end of file
diff --git a/mifosng-individual-lending-app/src/main/webapp/WEB-INF/views/administration-view-templates.jsp b/mifosng-individual-lending-app/src/main/webapp/WEB-INF/views/administration-view-templates.jsp
index e04a86ba5..cf55bec09 100644
--- a/mifosng-individual-lending-app/src/main/webapp/WEB-INF/views/administration-view-templates.jsp
+++ b/mifosng-individual-lending-app/src/main/webapp/WEB-INF/views/administration-view-templates.jsp
@@ -58,7 +58,7 @@
@@ -66,7 +66,7 @@
|
- |