alert removed

This commit is contained in:
gayathri1990 2021-03-10 13:54:40 +05:30
parent eeb08b64a1
commit a2f4056e87

View File

@ -814,8 +814,6 @@ export class LoanDetailsComponent implements OnInit {
/** To save Loan FOrm Details */
submitLoanDetails() {
alert('save');
alert(this.lenderShortName);
if(this.isOtherSource == false){
this.loanDetailsForm.controls['other_source'].setValue('');
@ -933,14 +931,12 @@ export class LoanDetailsComponent implements OnInit {
this.disableAfterSubmit = false;
return;
}
console.log(this.loanDetailsForm);
console.log(this.loanDetailsForm.controls);
console.log('udhaya');
this.disableAfterSubmit = true;
let records: any = {};
if(this.lenderShortName=='CFPL')
{
alert('cfpl');
records.facility_amount = this.loanDetailsForm.controls['facility_amount'].value;
records.anchor_name = this.loanDetailsForm.controls['anchor_name'].value;
records.vintage_anchor_year = this.loanDetailsForm.controls['vintage_anchor_year'].value;