Fairoj : SMC feedback changes
This commit is contained in:
parent
24e373bc8b
commit
7615c4df4f
@ -74,7 +74,7 @@
|
||||
<p class="note" *ngIf="!recordStatus && limitMsg">Showing data for last {{common}}. To see older records, please use advanced filter</p>
|
||||
<br/>
|
||||
<div class="example-container">
|
||||
<div fxLayout="row wrap" *ngFor="let details of pagedList | async" (click)="viewPD(details.is_child == 0 ? details.pd_id : details.parent_pd_id,details.random_string)" class="webhide">
|
||||
<div fxLayout="row wrap" *ngFor="let details of pagedList | async" (click)=" details.pd_status != 'BOUNCED' || details.fk_pd_allocated_to == user_id ? viewPD(details.is_child == 0 ? details.pd_id : details.parent_pd_id,details.random_string) : ''" class="webhide">
|
||||
<!--Start Mobile View Code-->
|
||||
<!-- <div (click)="viewPD(details.is_child == 0 ? details.pd_id : details.parent_pd_id,details.random_string)" class="webhide"> -->
|
||||
<div fxFlex.xs="20" fxFlex.sm="20" class="webhide" style="text-align: center;">
|
||||
@ -166,7 +166,7 @@
|
||||
<span class="fontsize" style="font-weight: bold;font-size: 1.1rem;" [ngStyle] = "{'color' : details.fk_pd_allocated_to == user_id ? 'black' : 'gray'}" *ngIf="details.fk_pd_allocated_to != null" matTooltip="Allocated to" matTooltipPosition="above">{{details.fk_pd_allocated_to == user_id ? 'Self' : details.pd_allocated_to }}</span>
|
||||
</div>
|
||||
<!-- *ngIf="details.fk_pd_allocated_to == null || details.fk_pd_allocated_to == user_id || details.pd_status == 'BOUNCED' || LenderRoleID == '27' || LenderRoleID == '25' -->
|
||||
<div fxFlex.xs="20" fxFlex.sm="20" fxFlex.md="16.66" fxFlex.lg="16.66" fxFlex.xl="16.66" class="cell center" style="justify-content:flex-end" >
|
||||
<div fxFlex.xs="20" fxFlex.sm="20" fxFlex.md="16.66" fxFlex.lg="16.66" fxFlex.xl="16.66" class="cell center" style="justify-content:flex-end" *ngIf="details.pd_status != 'BOUNCED' || details.fk_pd_allocated_to == user_id">
|
||||
<a [style.visibility]="details.pd_status=='INITIATED' && details.encrypted_url!=null && details.encrypted_url!='' ? 'visible' : 'hidden'" [attr.href]="details.encrypted_url" target="_blank">
|
||||
<button mat-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" color="primary"
|
||||
matTooltip="Officer Tracking" matTooltipPosition="above">
|
||||
|
||||
@ -7,6 +7,7 @@ import { NotifierService } from 'angular-notifier';
|
||||
import { AwsService } from 'app/AwsService/aws.service';
|
||||
import { UserService } from 'app/settings/service/user.service';
|
||||
import { ReplaySubject } from 'rxjs';
|
||||
import { LoaderService } from 'app/shared/loaderService/loader.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-all-pd',
|
||||
@ -55,7 +56,7 @@ export class AllPdComponent implements OnInit, OnChanges {
|
||||
pagedList: ReplaySubject<any> = new ReplaySubject<any>(1);
|
||||
user_id: any;
|
||||
constructor(private _pd: PdTrigerService,private _fb:FormBuilder,notifier: NotifierService,private userService:UserService,
|
||||
private _aws:AwsService) {
|
||||
private _aws:AwsService,private loaderService:LoaderService) {
|
||||
this.LenderRoleID = localStorage.getItem('LenderRoleID');
|
||||
this.notifier = notifier;
|
||||
|
||||
@ -148,10 +149,14 @@ console.log(this.displayedColumns)
|
||||
public LenderRoleID : string = localStorage.getItem('LenderRoleID');
|
||||
loadPDDetails() {
|
||||
this.LenderRoleID = localStorage.getItem('LenderRoleID');
|
||||
if(this.PdListData.length == 0) {
|
||||
this.loaderService.showMatSpinnerDialog("Loading...")
|
||||
}
|
||||
//this._pd.getTabStatusPdDetails(this.tabStatus)
|
||||
this._pd.getPdDetails(this.LenderRoleID)
|
||||
.subscribe(
|
||||
data => {
|
||||
this.loaderService.closeMatSpinnerDialog();
|
||||
if (data.status == 200) {
|
||||
this.PdListData = data.records;
|
||||
// this.PdListData = <GetOrInitializeYourListHere>;
|
||||
@ -180,6 +185,7 @@ console.log(this.displayedColumns)
|
||||
}
|
||||
// , error => {this.errorMessage = <any> error});
|
||||
,error => {
|
||||
this.loaderService.closeMatSpinnerDialog();
|
||||
this.errorMessage.push(error);
|
||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||
alert(error.html_format);
|
||||
|
||||
@ -74,7 +74,7 @@
|
||||
<br/>
|
||||
<div class="example-container">
|
||||
<!--Start Mobile View Code-->
|
||||
<div fxLayout="row wrap" *ngFor="let details of pagedList" (click)="viewPD(details.is_child == 0 ? details.pd_id : details.parent_pd_id,details.random_string)" class="webhide">
|
||||
<div fxLayout="row wrap" *ngFor="let details of pagedList" (click)="details.pd_status != 'BOUNCED' || details.fk_pd_allocated_to == user_id ? viewPD(details.is_child == 0 ? details.pd_id : details.parent_pd_id,details.random_string) : ''" class="webhide">
|
||||
<div fxFlex.xs="20" fxFlex.sm="20" class="webhide" style="text-align: center;">
|
||||
<p class="lettericon">{{details.pd_sno_split.lender_name}}<br/>
|
||||
<span style="font-size: 90%">{{details.pd_sno_split.serial_no}}</span></p>
|
||||
@ -157,7 +157,7 @@
|
||||
</span><br/>
|
||||
<span class="fontsize" style="font-weight: bold;font-size: 1.1rem;" [ngStyle] = "{'color' : details.fk_pd_allocated_to == user_id ? 'black' : 'gray'}" *ngIf="details.fk_pd_allocated_to != null" matTooltip="Allocated to" matTooltipPosition="above">{{details.fk_pd_allocated_to == user_id ? 'Self' : details.pd_allocated_to }}</span>
|
||||
</div>
|
||||
<div fxFlex.xs="20" fxFlex.sm="20" fxFlex.md="16.66" fxFlex.lg="16.66" fxFlex.xl="16.66" class="cell center" style="justify-content:flex-end" >
|
||||
<div fxFlex.xs="20" fxFlex.sm="20" fxFlex.md="16.66" fxFlex.lg="16.66" fxFlex.xl="16.66" class="cell center" style="justify-content:flex-end" *ngIf="details.pd_status != 'BOUNCED' || details.fk_pd_allocated_to == user_id">
|
||||
<a [style.visibility]="details.pd_status=='INITIATED' && details.encrypted_url!=null && details.encrypted_url!='' ? 'visible' : 'hidden'" [attr.href]="details.encrypted_url" target="_blank">
|
||||
<button mat-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" color="primary"
|
||||
matTooltip="Officer Tracking" matTooltipPosition="above">
|
||||
|
||||
@ -6,6 +6,7 @@ import { DatePipe } from '@angular/common';
|
||||
import { NotifierService } from 'angular-notifier';
|
||||
import { UserService } from 'app/settings/service/user.service';
|
||||
import { AwsService } from 'app/AwsService/aws.service';
|
||||
import { LoaderService } from 'app/shared/loaderService/loader.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-completed-pd',
|
||||
@ -54,7 +55,7 @@ export class CompletedPdComponent implements OnInit, OnChanges {
|
||||
pagedList: any=[];
|
||||
user_id: any;
|
||||
constructor(private _pd: PdTrigerService,public _fb:FormBuilder,notifier: NotifierService,private userService:UserService,
|
||||
private _aws:AwsService) {
|
||||
private _aws:AwsService, private loaderService:LoaderService) {
|
||||
this.notifier = notifier;
|
||||
|
||||
this.searchForm = this._fb.group(
|
||||
@ -118,9 +119,13 @@ export class CompletedPdComponent implements OnInit, OnChanges {
|
||||
// load inprogress pd list
|
||||
public LenderRoleID : any = localStorage.getItem('LenderRoleID');
|
||||
loadPDDetails() {
|
||||
if(this.completedPdListData.length == 0) {
|
||||
this.loaderService.showMatSpinnerDialog("Loading...")
|
||||
}
|
||||
this._pd.getTabStatusPdDetails(this.tabStatus,this.LenderRoleID)
|
||||
.subscribe(
|
||||
data => {
|
||||
this.loaderService.closeMatSpinnerDialog();
|
||||
if (data.status == 200) {
|
||||
this.completedPdListData = data.records;
|
||||
// this.dataLengthTab4 = data.records.length;
|
||||
@ -144,6 +149,7 @@ public LenderRoleID : any = localStorage.getItem('LenderRoleID');
|
||||
}
|
||||
// , error => this.errorMessage = <any> error);
|
||||
,error => {
|
||||
this.loaderService.closeMatSpinnerDialog();
|
||||
this.errorMessage.push(error);
|
||||
this.notifier.notify('warning', 'Something Wents Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||
alert(error.html_format);
|
||||
|
||||
@ -73,7 +73,7 @@
|
||||
<br/>
|
||||
<div class="example-container">
|
||||
<!--Start Mobile View Code-->
|
||||
<div fxLayout="row wrap" *ngFor="let details of pagedList" (click)="viewPD(details.is_child == 0 ? details.pd_id : details.parent_pd_id,details.random_string)" class="webhide">
|
||||
<div fxLayout="row wrap" *ngFor="let details of pagedList" (click)="details.pd_status != 'BOUNCED' || details.fk_pd_allocated_to == user_id ? viewPD(details.is_child == 0 ? details.pd_id : details.parent_pd_id,details.random_string) : ''" class="webhide">
|
||||
<div fxFlex.xs="20" fxFlex.sm="20" class="webhide" style="text-align: center;">
|
||||
<p class="lettericon">{{details.pd_sno_split.lender_name}}<br/>
|
||||
<span style="font-size: 90%">{{details.pd_sno_split.serial_no}}</span></p>
|
||||
@ -156,7 +156,7 @@
|
||||
</span><br/>
|
||||
<span class="fontsize" style="font-weight: bold;font-size: 1.1rem;" [ngStyle] = "{'color' : details.fk_pd_allocated_to == user_id ? 'black' : 'gray'}" *ngIf="details.fk_pd_allocated_to != null" matTooltip="Allocated to" matTooltipPosition="above">{{details.fk_pd_allocated_to == user_id ? 'Self' : details.pd_allocated_to }}</span>
|
||||
</div>
|
||||
<div fxFlex.xs="20" fxFlex.sm="20" fxFlex.md="16.66" fxFlex.lg="16.66" fxFlex.xl="16.66" class="cell center" style="justify-content:flex-end" >
|
||||
<div fxFlex.xs="20" fxFlex.sm="20" fxFlex.md="16.66" fxFlex.lg="16.66" fxFlex.xl="16.66" class="cell center" style="justify-content:flex-end" *ngIf="details.pd_status != 'BOUNCED' || details.fk_pd_allocated_to == user_id">
|
||||
<a [style.visibility]="details.pd_status=='INITIATED' && details.encrypted_url!=null && details.encrypted_url!='' ? 'visible' : 'hidden'" [attr.href]="details.encrypted_url" target="_blank">
|
||||
<button mat-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" color="primary"
|
||||
matTooltip="Officer Tracking" matTooltipPosition="above">
|
||||
|
||||
@ -6,6 +6,7 @@ import { DatePipe } from '@angular/common';
|
||||
import { NotifierService } from 'angular-notifier';
|
||||
import { UserService } from 'app/settings/service/user.service';
|
||||
import { AwsService } from 'app/AwsService/aws.service';
|
||||
import { LoaderService } from 'app/shared/loaderService/loader.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-inprogress-pd',
|
||||
@ -52,7 +53,7 @@ export class InprogressPdComponent implements OnInit, OnChanges {
|
||||
pagedList: any=[];
|
||||
user_id: any;
|
||||
constructor(private _pd: PdTrigerService,public _fb:FormBuilder,notifier: NotifierService,private userService:UserService,
|
||||
private _aws:AwsService) {
|
||||
private _aws:AwsService, private loaderService:LoaderService) {
|
||||
this.notifier = notifier;
|
||||
|
||||
this.searchForm = this._fb.group(
|
||||
@ -114,9 +115,13 @@ export class InprogressPdComponent implements OnInit, OnChanges {
|
||||
// load inprogress pd list
|
||||
public LenderRoleID : string = localStorage.getItem('LenderRoleID');
|
||||
loadPDDetails() {
|
||||
if(this.progressPdListData.length == 0) {
|
||||
this.loaderService.showMatSpinnerDialog("Loading...")
|
||||
}
|
||||
this._pd.getTabStatusPdDetails(this.tabStatus,this.LenderRoleID)
|
||||
.subscribe(
|
||||
data => {
|
||||
this.loaderService.closeMatSpinnerDialog();
|
||||
if (data.status == 200) {
|
||||
this.progressPdListData = data.records;
|
||||
// this.dataLengthTab2 = data.records.length;
|
||||
@ -137,6 +142,7 @@ public LenderRoleID : string = localStorage.getItem('LenderRoleID');
|
||||
this.limitMsg = false
|
||||
}
|
||||
},error => {
|
||||
this.loaderService.closeMatSpinnerDialog();
|
||||
this.errorMessage.push(error);
|
||||
this.notifier.notify('warning', 'Something Went Wrong Try Again.!' + '-' + error.error_text + ' occur');
|
||||
alert(error.html_format);
|
||||
|
||||
@ -120,7 +120,7 @@ export class ListPdComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
pdListLoad(status: boolean){
|
||||
this.viewPdList = status;
|
||||
this.getTabIndex==0 ? this.allTabC.loadPDDetails() : this.getTabIndex==1 ? this.scheduledTabC.loadPDDetails() : this.getTabIndex==2 ? this.inprogressTabC.loadPDDetails() : this.getTabIndex==3 ? this.completedTabC.loadPDDetails() : this.qcCompletedTabC.loadPDDetails();
|
||||
this.getTabIndex==0 ? this.allTabC.loadPDDetails() : this.getTabIndex==3 ? this.scheduledTabC.loadPDDetails() : this.getTabIndex==1 ? this.inprogressTabC.loadPDDetails() : this.getTabIndex==2 ? this.completedTabC.loadPDDetails() : this.qcCompletedTabC.loadPDDetails();
|
||||
|
||||
}
|
||||
viewPDDetails(event){
|
||||
|
||||
@ -38,7 +38,7 @@
|
||||
</mat-list>
|
||||
<mat-list *ngIf="pdOfficerList.length == 0">
|
||||
<mat-list-item>
|
||||
<p>No Credit Managers available.</p>
|
||||
<p>No <span *ngIf="data.lender_role_id == '25'">Regional </span>Credit Managers available.</p>
|
||||
</mat-list-item>
|
||||
</mat-list>
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
|
||||
<mat-dialog-actions >
|
||||
<div fxFlex="50" align="left">
|
||||
<p *ngIf="selectedItem">Credit Manager: {{selectedItem.first_name}}</p>
|
||||
<p *ngIf="selectedItem"> <span *ngIf="data.lender_role_id == '25'">Regional </span>Credit Manager: {{selectedItem.first_name}}</p>
|
||||
</div>
|
||||
<div fxFlex="50" align="right">
|
||||
<!-- <button mat-raised-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" (click)="closeAllocationComponent()" matTooltip="Close" matTooltipPosition="below"><mat-icon>close</mat-icon></button> -->
|
||||
|
||||
@ -29,6 +29,9 @@ export class PdAllocationComponent implements OnInit {
|
||||
@Inject(MAT_DIALOG_DATA) public data: any) {
|
||||
console.log(data)
|
||||
this.notifier=notifier;
|
||||
if(this.data.lender_role_id == '25') {
|
||||
this.pageTitle = "Allocation To Regional Credit Manager"
|
||||
}
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
@ -47,7 +50,14 @@ export class PdAllocationComponent implements OnInit {
|
||||
|
||||
// pd officer list
|
||||
getPDOfficerList(pdID:string){
|
||||
this._pd.getCMUsers(this.data.city_id).subscribe(
|
||||
let user_type
|
||||
if(this.data.lender_role_id == '25') {
|
||||
user_type = "RCM"
|
||||
}
|
||||
else if(this.data.lender_role_id == '27') {
|
||||
user_type = "CM"
|
||||
}
|
||||
this._pd.getCMUsers(this.data.city_id,user_type).subscribe(
|
||||
data => {
|
||||
if (data.status == 200) {
|
||||
this.pdOfficerList= data.records
|
||||
|
||||
@ -116,9 +116,10 @@ export class StartPdComponent implements OnInit, OnDestroy {
|
||||
// this.categoryFormButtons = Object.keys(data.records.template_forms).map((item)=>data.records.template_forms[item]).filter(item=>item.isAnswerable===true);
|
||||
this.categoryFormButtons = data.records.template_details
|
||||
// this.categoryFormButtons = this.categoryFormButtons.filter(item=>item.isAnswerable===true);
|
||||
this.actualQuestions = this.categoryFormButtons.length;
|
||||
let getAnsweredFormsCount = this.categoryFormButtons.filter(item=>item.is_answered==='1');
|
||||
this.actualQuestions = this.categoryFormButtons.filter(item => item.complete_check_enabled == '1').length;
|
||||
let getAnsweredFormsCount = this.categoryFormButtons.filter(item=>item.is_answered==='1' && item.complete_check_enabled == '1');
|
||||
this.answeredQuestions = getAnsweredFormsCount.length;
|
||||
console.log("ans",this.answeredQuestions,this.actualQuestions)
|
||||
this.pdFullDetails = data.records;
|
||||
// VENDOR FORM ANSWER FETCH STATUS START(SMART PD ONLY)
|
||||
// if(this.pdMasterList.fk_pd_type == '2') {
|
||||
@ -172,7 +173,7 @@ export class StartPdComponent implements OnInit, OnDestroy {
|
||||
checkType==1 ? this.router.navigate(['../../viewpd', this.pdMasterList.parent_pd_id], {relativeTo: this.route}) : this.loadTemplates(this.startPD,2,this.randomString);
|
||||
}
|
||||
if(checkType == 2){
|
||||
this.loadTemplates(this.startPD,2,this.randomString);
|
||||
// this.loadTemplates(this.startPD,2,this.randomString);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
<mat-icon>videocam</mat-icon>
|
||||
<strong>Call</strong>
|
||||
</button>
|
||||
<button mat-stroked-button class="mr-1 mb-1" color="primary" (click)="openExcelUpload()" *ngIf="master.lender_short_name == 'MWISE' && LenderRoleID != '26'" >
|
||||
<button mat-stroked-button class="mr-1 mb-1" color="primary" (click)="openExcelUpload()" *ngIf="master.lender_short_name == 'MWISE' && LenderRoleID != '26' && currentPDStatus!=pdStatusCheck.INPROGRESS" >
|
||||
<mat-icon>upload_file</mat-icon>
|
||||
<strong>Upload Excel</strong>
|
||||
</button>
|
||||
@ -196,9 +196,10 @@
|
||||
</div>
|
||||
<div fxFlex="60" align="right">
|
||||
<!-- <span><button *ngIf="roleAccessDetails.trigger && addresses.assigned_pd==null || addresses.assigned_pd==''" mat-raised-button mat-button-md mat-icon-button class="mr-1 mb-1 hover-icon" type="button" [matTooltip]="master.fk_primary_address_id ? 'Initiate PD for this address' : 'Initiate Address for PD Process'" matTooltipPosition="above" (click)="initiateAddtionalPD(master,addresses,master.fk_primary_address_id ? true : false)"><mat-icon>where_to_vote</mat-icon></button></span> -->
|
||||
<!-- {{userId == master.fk_pd_allocated_to}} -->
|
||||
<span *ngIf="master.lender_short_name == 'MWISE' && LenderRoleID != '25' && userId == master.fk_pd_allocated_to"> <button *ngIf="roleAccessDetails.allocate && addresses.assigned_pd && master.pd_type_name && addresses.addtional_pd_data[0].pd_status == pdStatusCheck.ALLOCATED" mat-raised-button mat-button-md mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="Reject" matTooltipPosition="above" (click)="rejectPD()"><mat-icon>settings_backup_restore</mat-icon></button></span>
|
||||
<span *ngIf="master.lender_short_name == 'MWISE' && LenderRoleID == '27'"><button *ngIf="roleAccessDetails.allocate && addresses.assigned_pd && addresses.addtional_pd_data[0].pd_type_name && (currentPDStatus == pdStatusCheck.BOUNCED || currentPDStatus == pdStatusCheck.TRIGGERED || currentPDStatus == pdStatusCheck.ALLOCATED)" mat-raised-button mat-button-md mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="Allocate" matTooltipPosition="above" (click)="selfAllocation(addresses.fk_city)"><mat-icon>verified_user</mat-icon></button></span>
|
||||
<span *ngIf="master.lender_short_name == 'MWISE' && LenderRoleID != '25'"><button *ngIf="addresses.assigned_pd && addresses.addtional_pd_data[0].pd_type_name && (currentPDStatus == pdStatusCheck.ALLOCATED || currentPDStatus == pdStatusCheck.INPROGRESS)" mat-raised-button mat-button-md mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="Allocate to CPA" matTooltipPosition="above" (click)="allocateToCpa()"><mat-icon>swap_vert</mat-icon></button></span>
|
||||
<span *ngIf="master.lender_short_name == 'MWISE' && (LenderRoleID == '27' || LenderRoleID == '25' && currentPDStatus == pdStatusCheck.BOUNCED)"><button *ngIf="roleAccessDetails.allocate && addresses.assigned_pd && addresses.addtional_pd_data[0].pd_type_name && (currentPDStatus == pdStatusCheck.TRIGGERED || (currentPDStatus == pdStatusCheck.ALLOCATED && userId == master.fk_pd_allocated_to)|| (currentPDStatus == pdStatusCheck.BOUNCED && userId == master.fk_pd_allocated_to)) " mat-raised-button mat-button-md mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="Allocate" matTooltipPosition="above" (click)="selfAllocation(addresses.fk_city)"><mat-icon>verified_user</mat-icon></button></span>
|
||||
<span *ngIf="master.lender_short_name == 'MWISE' && LenderRoleID != '25'"><button *ngIf="addresses.assigned_pd && addresses.addtional_pd_data[0].pd_type_name && (currentPDStatus == pdStatusCheck.ALLOCATED || currentPDStatus == pdStatusCheck.INPROGRESS)" mat-raised-button mat-button-md mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="Send back to CPA" matTooltipPosition="above" (click)="allocateToCpa()"><mat-icon>swap_vert</mat-icon></button></span>
|
||||
<span *ngIf="master.lender_short_name == 'MWISE' && LenderRoleID != '25'"><button *ngIf="roleAccessDetails.discussions && addresses.assigned_pd && addresses.addtional_pd_data[0].pd_type_name && addresses.addtional_pd_data[0].pd_status!=pdStatusCheck.DRAFT && currentPDStatus!=pdStatusCheck.BOUNCED && (LenderRoleID == '27' || currentPDStatus!=pdStatusCheck.TRIGGERED)" mat-raised-button mat-button-md mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="Discussion" matTooltipPosition="above" (click)="getPDStart(addresses,addresses.addtional_pd_data[0].pd_status)"><mat-icon>question_answer</mat-icon></button></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -508,7 +508,7 @@ else {
|
||||
/** To update pd officer*/
|
||||
selfAllocation(city_id) {
|
||||
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 },
|
||||
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 },
|
||||
disableClose: true,
|
||||
minWidth: '30%',
|
||||
})
|
||||
|
||||
@ -885,8 +885,8 @@ loadTemplate(form_id) {
|
||||
return this._http.post(this.apiUrl+'updateTwlioVideoStatus',params)
|
||||
.pipe(catchError(this.handleError("updateTwlioVideoStatus",[])))
|
||||
}
|
||||
getCMUsers(city_id):Observable<any> {
|
||||
let param = new HttpParams().set('city_id',city_id)
|
||||
getCMUsers(city_id,user_type):Observable<any> {
|
||||
let param = new HttpParams().set('city_id',city_id).set('usertype',user_type)
|
||||
return this._http.get(this.apiUrl+"getCMUsers",{params:param})
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user