add account count

This commit is contained in:
Madhukar
2012-09-26 12:57:02 +05:30
parent 11e7f64cad
commit c08a76dd94
@@ -55,7 +55,6 @@ public class ClientAccountSummaryCollectionData {
this.awaitingDisbursalLoanCount = this.awaitingDisbursalLoans.size();
this.activeLoanCount = this.openLoans.size();
this.closedLoanCount = this.closedLoans.size();
this.anyLoanCount = this.pendingApprovalLoanCount + this.awaitingDisbursalLoanCount + this.activeLoanCount + this.closedLoanCount;
this.pendingApprovalDespositAccountsCount = this.pendingApprovalDepositAccounts.size();
this.approvedDespositAccountsCount = this.approvedDepositAccounts.size();
@@ -64,6 +63,10 @@ public class ClientAccountSummaryCollectionData {
this.rejectedDepositAccountsCount = this.rejectedDepositAccounts.size();
this.preclosedDepositAccountsCount = this.preclosedDepositAccounts.size();
this.anyLoanCount = this.pendingApprovalLoanCount + this.awaitingDisbursalLoanCount + this.activeLoanCount + this.closedLoanCount
+this.pendingApprovalDespositAccountsCount+this.approvedDespositAccountsCount+this.withdrawnByClientDespositAccountsCount+this.closedDepositAccountsCount
+this.rejectedDepositAccountsCount+this.preclosedDepositAccountsCount;
}
public int getAnyLoanCount() {