amountinwords : ps
This commit is contained in:
parent
295d7e0666
commit
b277377fad
@ -694,8 +694,8 @@ public m_investmentType = [];
|
|||||||
});
|
});
|
||||||
result.forEach((datas,index) => {
|
result.forEach((datas,index) => {
|
||||||
|
|
||||||
this.OtherAppxMarketAmtInwords[index] = this.pdTrigerService.convertNumberToWords(datas.approximate_market_value);
|
this.OtherAppxMarketAmtInwords[index] = this.pdTrigerService.convertNumberToWords(+datas.approximate_market_value);
|
||||||
this.OtherEmiAmtInwords[index] = this.pdTrigerService.convertNumberToWords(datas.emi_paid);
|
this.OtherEmiAmtInwords[index] = this.pdTrigerService.convertNumberToWords(+datas.emi_paid);
|
||||||
|
|
||||||
});
|
});
|
||||||
if (result.length > 0) {
|
if (result.length > 0) {
|
||||||
@ -730,8 +730,8 @@ public m_investmentType = [];
|
|||||||
|
|
||||||
if (result.length > 0) {
|
if (result.length > 0) {
|
||||||
result.forEach((datas,index) => {
|
result.forEach((datas,index) => {
|
||||||
this.appxMarketAmtInwords[index] = this.pdTrigerService.convertNumberToWords(datas.business_approximate_market_value);
|
this.appxMarketAmtInwords[index] = this.pdTrigerService.convertNumberToWords(+datas.business_approximate_market_value);
|
||||||
this.emiAmtInwords[index] = this.pdTrigerService.convertNumberToWords(datas.business_emi_paid);
|
this.emiAmtInwords[index] = this.pdTrigerService.convertNumberToWords(+datas.business_emi_paid);
|
||||||
});
|
});
|
||||||
|
|
||||||
for (let val of result) {
|
for (let val of result) {
|
||||||
|
|||||||
@ -104,9 +104,9 @@ export class BankingDetailsComponent implements OnInit {
|
|||||||
control.push(this.createBankarray());
|
control.push(this.createBankarray());
|
||||||
} else {
|
} else {
|
||||||
result.forEach((datas,index) => {
|
result.forEach((datas,index) => {
|
||||||
this.amtInwords[index] = this._pd.convertNumberToWords(datas.limit);
|
this.amtInwords[index] = this._pd.convertNumberToWords(+datas.limit);
|
||||||
this.selectedBorrower(datas.applicant_name,index);
|
this.selectedBorrower(datas.applicant_name,index);
|
||||||
this.selectedAccTypeChanges(datas.account_type,index)
|
this.selectedAccTypeChanges(+datas.account_type,index)
|
||||||
|
|
||||||
// this.emiAmtInwords[index] = this._pd.convertNumberToWords(val.emi);
|
// this.emiAmtInwords[index] = this._pd.convertNumberToWords(val.emi);
|
||||||
control.push(this.createBankarray());
|
control.push(this.createBankarray());
|
||||||
@ -230,10 +230,10 @@ export class BankingDetailsComponent implements OnInit {
|
|||||||
if(event == 2 || event == 1) {
|
if(event == 2 || event == 1) {
|
||||||
this.limitCaseFlag[i] = false;
|
this.limitCaseFlag[i] = false;
|
||||||
|
|
||||||
const control = <FormArray>this.bankingForm.controls['itemRows'];
|
// const control = <FormArray>this.bankingForm.controls['itemRows'];
|
||||||
|
|
||||||
control.controls[0].get('limit').clearValidators();
|
// control.controls[0].get('limit').clearValidators();
|
||||||
control.controls[0].get('limit').updateValueAndValidity();
|
// control.controls[0].get('limit').updateValueAndValidity();
|
||||||
|
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user