feat: add loan button (recovery-repayment) (#1058)

Fixes: #1057
This commit is contained in:
Muskan Khedia
2020-07-11 10:34:02 +05:30
committed by GitHub
parent 843e4ed981
commit 6b688b98dc
15 changed files with 358 additions and 85 deletions
@@ -98,7 +98,7 @@ export class CreateLoansAccountComponent implements OnInit {
const locale = 'en';
const dateFormat = 'dd MMMM yyyy';
const loanType = 'individual';
let loansAccountData = {
const loansAccountData = {
...this.loansAccount,
clientId: this.loansAccountTemplate.clientId,
charges: this.loansAccount.charges.map((charge: any) => ({
@@ -136,7 +136,7 @@ export class CreateLoansAccountComponent implements OnInit {
if (loansAccountData.interestCalculationPeriodType === 0) {
loansAccountData.allowPartialPeriodInterestCalcualtion = false;
}
if (!(loansAccountData.isFloatingInterestRate === false)){
if (!(loansAccountData.isFloatingInterestRate === false)) {
delete loansAccountData.isFloatingInterestRate;
}