diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-allocation/pd-allocation.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-allocation/pd-allocation.component.ts
index 21f0eb3..aff7c5a 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-allocation/pd-allocation.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-allocation/pd-allocation.component.ts
@@ -57,7 +57,7 @@ export class PdAllocationComponent implements OnInit {
else if(this.data.lender_role_id == '27') {
user_type = "CM"
}
- this._pd.getCMUsers(this.data.city_id,user_type).subscribe(
+ this._pd.getCMUsers(this.data.state_id,user_type).subscribe(
data => {
if (data.status == 200) {
this.pdOfficerList= data.records
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.html
index b04efd5..0392f0f 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.html
@@ -198,7 +198,7 @@
-
+
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts
index 2e8bd47..3ac999b 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts
@@ -528,10 +528,10 @@ else {
}
/** To update pd officer*/
- selfAllocation(city_id) {
+ selfAllocation(state_id) {
if(this.LenderRoleID == '27' || this.LenderRoleID == '25') {
const dialogRef1 = this.dialog.open(PdAllocationComponent, {
- data: { pd_id:this.viewID, pd_status: this.pdStatusCheck.ALLOCATED,random_string:this.pdMasterData[0].random_string,dialogType:'actionOnly',city_id:city_id, lender_role_id:this.LenderRoleID },
+ data: { pd_id:this.viewID, pd_status: this.pdStatusCheck.ALLOCATED,random_string:this.pdMasterData[0].random_string,dialogType:'actionOnly',state_id:state_id, lender_role_id:this.LenderRoleID },
disableClose: true,
minWidth: '30%',
})
diff --git a/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts b/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts
index b632494..90ffa76 100755
--- a/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts
+++ b/ng6-seed/src/app/personal-discussion/pd-service/pd-triger.service.ts
@@ -885,8 +885,8 @@ loadTemplate(form_id) {
return this._http.post(this.apiUrl+'updateTwlioVideoStatus',params)
.pipe(catchError(this.handleError("updateTwlioVideoStatus",[])))
}
- getCMUsers(city_id,user_type):Observable {
- let param = new HttpParams().set('city_id',city_id).set('usertype',user_type)
+ getCMUsers(state_id,user_type):Observable {
+ let param = new HttpParams().set('state_id',state_id).set('usertype',user_type)
return this._http.get(this.apiUrl+"getCMUsers",{params:param})
}
saveNewSMCTempAddresses(params) {