Loand details data fetching issue and final remarks field changes are done
This commit is contained in:
parent
e88aa91d7d
commit
96d66decd0
@ -1 +1 @@
|
||||
{"version":3,"sources":["../../@angular/common/http (ignored)"],"names":[],"mappings":";;;;;AAAA,e","file":"0.js","sourcesContent":["/* (ignored) */\n\n\n//////////////////\n// WEBPACK FOOTER\n// @angular/common/http (ignored)\n// module id = 726\n// module chunks = 0"],"sourceRoot":""}
|
||||
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -132,7 +132,7 @@
|
||||
<div formArrayName="recommendation_positive">
|
||||
<div *ngFor="let details of _finalRemarkForm.get('recommendation_positive').controls; let i=index; let l=last" [formGroupName]="i">
|
||||
<mat-form-field>
|
||||
<mat-placeholder>Reason for Marking PD Status as Positive</mat-placeholder>
|
||||
<mat-placeholder>Reasons for Marking PD Status as Positive</mat-placeholder>
|
||||
<textarea matInput autocomplete="off" formControlName="reason_for_positive" required></textarea>
|
||||
<!-- <mat-placeholder>Reason for Marking PD Status as Positive</mat-placeholder>
|
||||
<input matInput autocomplete="off" formControlName="reason_for_positive" required> -->
|
||||
@ -153,7 +153,7 @@
|
||||
<div *ngFor="let details of _finalRemarkForm.get('recommendation_negative').controls;let i=index; let l=last" [formGroupName]="i">
|
||||
<mat-form-field>
|
||||
<mat-placeholder>Reasons for marking PD status as Negative</mat-placeholder>
|
||||
<input matInput autocomplete="off" formControlName="reason_for_negative" required>
|
||||
<textarea matInput autocomplete="off" formControlName="reason_for_negative" required></textarea>
|
||||
</mat-form-field>
|
||||
<ion-buttons end>
|
||||
<ion-col col-3 offset-3 *ngIf="_finalRemarkForm.get('recommendation_negative').controls.length > 1">
|
||||
@ -171,7 +171,7 @@
|
||||
<div *ngFor="let details of _finalRemarkForm.get('recommendation_refer_to_credit').controls;let i=index; let l=last" [formGroupName]="i">
|
||||
<mat-form-field>
|
||||
<mat-placeholder>Reasons for marking PD status as Refer to Credit</mat-placeholder>
|
||||
<input matInput autocomplete="off" formControlName="reason_for_refer_to_credit" required>
|
||||
<textarea matInput autocomplete="off" formControlName="reason_for_refer_to_credit" required></textarea>
|
||||
</mat-form-field>
|
||||
<ion-buttons end>
|
||||
<ion-col col-3 offset-3 *ngIf="_finalRemarkForm.get('recommendation_refer_to_credit').controls.length > 1">
|
||||
|
||||
@ -180,7 +180,7 @@ export class PdQuestionLoansPage {
|
||||
}
|
||||
|
||||
|
||||
if(this.productAbbr == 'PL' || this.productAbbr == 'BL' || this.productAbbr == 'LAP'){
|
||||
if(this.productAbbr == 'PL' || this.productAbbr == 'BL' || this.productAbbr == 'LAP' || this.productAbbr == 'LFMP'){
|
||||
this.isContribution = true;
|
||||
}
|
||||
this.loanDetailsForm.controls['filterCtrl'].valueChanges
|
||||
@ -195,6 +195,7 @@ export class PdQuestionLoansPage {
|
||||
ionViewDidLoad() {
|
||||
console .log('ionViewDidLoad PdQuestionLoansPage');
|
||||
this.getDropdown();
|
||||
|
||||
|
||||
}
|
||||
ngOnDestroy() {
|
||||
@ -327,13 +328,13 @@ export class PdQuestionLoansPage {
|
||||
|
||||
this.filteredBanks.next(this.dbmasters.slice())
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
||||
this.qustCat.getcommondrop('STATUSOFCONSTRUCTION').subscribe(
|
||||
data => {
|
||||
this.m_statusofCunstruction = data['records'].filter(data => data.isactive == 1);
|
||||
});
|
||||
|
||||
|
||||
this.qustCat.getcommondrop('MORTAGEPROPERTIES').subscribe(
|
||||
data => {
|
||||
@ -360,11 +361,11 @@ export class PdQuestionLoansPage {
|
||||
// this.mortage_type(this.propertyType);
|
||||
}
|
||||
console.log('this.m_mortageTypeProperty',this.m_mortageTypeProperty);
|
||||
});
|
||||
|
||||
this.qustCat.getcommondrop('SOURCEOFBALANCETRANSFER').subscribe(
|
||||
data => {
|
||||
this.m_sourceofamount = data['records'].filter(data => data.isactive == 1);
|
||||
});
|
||||
|
||||
this.qustCat.getcommondrop('SUBPRODUCTS').subscribe(
|
||||
subdata => {
|
||||
if(subdata['dataStatus']==true){
|
||||
@ -379,7 +380,7 @@ export class PdQuestionLoansPage {
|
||||
});
|
||||
this.endUserChange(this.enduse)
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{
|
||||
if(data['dataStatus']==true){
|
||||
@ -393,7 +394,7 @@ export class PdQuestionLoansPage {
|
||||
this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
let modifyApplicantList: any=[];
|
||||
if(this.applicants.length > 0){
|
||||
@ -408,20 +409,27 @@ export class PdQuestionLoansPage {
|
||||
}
|
||||
this.qustCat.getcommondrop('ENDUSEOFTOPUP').subscribe(data=>{
|
||||
this.m_endUseOFTopUpList=data['records'].filter(val=>val.is_active == 1)
|
||||
})
|
||||
|
||||
this.qustCat.getcommondrop('STATE').subscribe(res=>
|
||||
{
|
||||
if(res['dataStatus']==true){
|
||||
this.stateData=res['records'].filter(item=>item.isactive==1);
|
||||
this.stateDataValue=this.stateData.slice();
|
||||
}
|
||||
})
|
||||
|
||||
this.qustCat.getEndUseForLoan(this.pdid,this.pdDetails.fk_subproduct_id).subscribe(data=>{
|
||||
|
||||
this.m_endUseForLoan=data['records'].filter(data=>data.isactive==1);
|
||||
this.getLoanDetails();
|
||||
this.getLoanDetails()
|
||||
});
|
||||
|
||||
})
|
||||
})
|
||||
})
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user