Fairoj: Masters Det for Lender Branch Added

This commit is contained in:
saravanakumarkandasami 2019-02-20 12:56:11 +05:30
parent a0adca565b
commit 24d6a1d535
11 changed files with 681 additions and 670 deletions

28
package-lock.json generated
View File

@ -2686,7 +2686,7 @@
"version": "1.1.11",
"bundled": true,
"requires": {
"balanced-match": "^1.0.0",
"balanced-match": "1.0.0",
"concat-map": "0.0.1"
}
},
@ -2786,7 +2786,7 @@
"bundled": true,
"optional": true,
"requires": {
"safer-buffer": "^2.1.0"
"safer-buffer": "2.1.2"
}
},
"ignore-walk": {
@ -2794,7 +2794,7 @@
"bundled": true,
"optional": true,
"requires": {
"minimatch": "^3.0.4"
"minimatch": "3.0.4"
}
},
"inflight": {
@ -2819,7 +2819,7 @@
"version": "1.0.0",
"bundled": true,
"requires": {
"number-is-nan": "^1.0.0"
"number-is-nan": "1.0.1"
}
},
"isarray": {
@ -2831,7 +2831,7 @@
"version": "3.0.4",
"bundled": true,
"requires": {
"brace-expansion": "^1.1.7"
"brace-expansion": "1.1.11"
}
},
"minimist": {
@ -2877,9 +2877,9 @@
"bundled": true,
"optional": true,
"requires": {
"debug": "^2.1.2",
"iconv-lite": "^0.4.4",
"sax": "^1.2.4"
"debug": "2.6.9",
"iconv-lite": "0.4.21",
"sax": "1.2.4"
}
},
"node-pre-gyp": {
@ -2904,8 +2904,8 @@
"bundled": true,
"optional": true,
"requires": {
"abbrev": "1",
"osenv": "^0.1.4"
"abbrev": "1.1.1",
"osenv": "0.1.5"
}
},
"npm-bundled": {
@ -2918,8 +2918,8 @@
"bundled": true,
"optional": true,
"requires": {
"ignore-walk": "^3.0.1",
"npm-bundled": "^1.0.1"
"ignore-walk": "3.0.1",
"npm-bundled": "1.0.3"
}
},
"npmlog": {
@ -2964,8 +2964,8 @@
"bundled": true,
"optional": true,
"requires": {
"os-homedir": "^1.0.0",
"os-tmpdir": "^1.0.0"
"os-homedir": "1.0.2",
"os-tmpdir": "1.0.2"
}
},
"path-is-absolute": {

View File

@ -19,6 +19,12 @@
<input matInput placeholder="Lender Name" type="text" name="lenName" formControlName="lenName"required>
</mat-form-field>
</div> -->
<mat-form-field style="width:100%">
<mat-select placeholder="Choose the Lender Branch" formControlName="pd_branch_id" required>
<mat-option *ngFor="let branch of branchList" [value]="branch.entity_lender_branch_id">{{ branch.branch_name }} </mat-option>
</mat-select>
</mat-form-field>
<div fxLayout="column" fxLayoutAlign="start stretch">
<mat-form-field style="width: 100%">

View File

@ -42,6 +42,7 @@ city:any =[];
state:any = [];
landline1:any;
landline2:any;
branchList:any=[];
btnaccess:boolean = false;
cityList: any=[];
pincodeList: any=[];
@ -54,7 +55,7 @@ btnaccess:boolean = false;
this.pdforms = this.fb.group({
pd_branch_id:[null,Validators.compose([Validators.required])],
lenAppID:[null,Validators.compose([Validators.required])],
proName:[null],
subProName:[null],
@ -145,8 +146,9 @@ btnaccess:boolean = false;
//console.log("Entity branch",this.users.fk_entity_id[])
})
this.qustCat.getLenderDetailsById().subscribe(res=>{
console.log("entity by Id",res);
this.branchList=res['records'].filter(val=>val.entity_id==this.users.fk_entity_id)[0].branches
console.log("entity by Id",this.branchList);
})
}
getCityList(stateID:string){
@ -287,6 +289,7 @@ btnaccess:boolean = false;
let city = pddata.city;
let pdDetailsData = {
'fk_lender_id':this.users.fk_entity_id,
'pd_branch_id':pddata.pd_branch_id,
'fk_entity_billing_id':'',
'lender_applicant_id':pddata.lenAppID,
'pd_date_of_initiation':'',

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long