merge trigger pd
This commit is contained in:
parent
c72e8d1a62
commit
405b920d5c
@ -15,12 +15,12 @@
|
|||||||
<small> {{master.lender_applicant_id}}</small> <br>
|
<small> {{master.lender_applicant_id}}</small> <br>
|
||||||
<small>{{master.pd_date_of_initiation}}</small><br>
|
<small>{{master.pd_date_of_initiation}}</small><br>
|
||||||
<br>
|
<br>
|
||||||
<button mat-raised-button color="primary">
|
<button mat-raised-button color="primary" style="cursor: not-allowed !important;">
|
||||||
<span *ngIf="master.pd_status==pdStatusCheck.SCHEDULED" style="text-align:left">{{master.pd_status | titlecase}}</span>
|
<span *ngIf="master.pd_status==pdStatusCheck.SCHEDULED" style="text-align:left">{{master.pd_status | titlecase}}</span>
|
||||||
<span *ngIf="master.pd_status!=pdStatusCheck.SCHEDULED && master.pd_status!=pdStatusCheck.QC_COMPLETED " style="text-align:left">{{master.pd_status | titlecase}}</span>
|
<span *ngIf="master.pd_status!=pdStatusCheck.SCHEDULED && master.pd_status!=pdStatusCheck.QC_COMPLETED " style="text-align:left">{{master.pd_status | titlecase}}</span>
|
||||||
<span *ngIf="master.pd_status==pdStatusCheck.QC_COMPLETED " style="text-align:left">QC Completed</span>
|
<span *ngIf="master.pd_status==pdStatusCheck.QC_COMPLETED " style="text-align:left">QC Completed</span>
|
||||||
</button>
|
</button>
|
||||||
<button *ngIf="master.pd_type_name && currentPDStatus==pdStatusCheck.DRAFT" mat-raised-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="Trigger" matTooltipPosition="above" (click)="editPdMaster(master)" style="cursor: not-allowed !important;"><mat-icon>flash_on</mat-icon></button>
|
<button *ngIf="master.pd_type_name && currentPDStatus==pdStatusCheck.DRAFT" mat-raised-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="Trigger" matTooltipPosition="above" (click)="directTriggerPD(master)"><mat-icon>flash_on</mat-icon></button>
|
||||||
<br>
|
<br>
|
||||||
<small *ngIf="master.pd_allocated_to && master.fk_pd_type==1" style="text-align:left" matTooltip="PD Officer" matTooltipPosition="above">{{master.pd_allocated_to | titlecase}}</small>
|
<small *ngIf="master.pd_allocated_to && master.fk_pd_type==1" style="text-align:left" matTooltip="PD Officer" matTooltipPosition="above">{{master.pd_allocated_to | titlecase}}</small>
|
||||||
<small *ngIf="master.executive_name && master.centralofficer && master.fk_pd_type==2" style="text-align:left" matTooltip="PD Officer" matTooltipPosition="above">{{master.executive_name | titlecase}}/{{master.centralofficer | titlecase}}</small>
|
<small *ngIf="master.executive_name && master.centralofficer && master.fk_pd_type==2" style="text-align:left" matTooltip="PD Officer" matTooltipPosition="above">{{master.executive_name | titlecase}}/{{master.centralofficer | titlecase}}</small>
|
||||||
|
|||||||
@ -228,6 +228,11 @@ export class ViewPdComponent implements OnInit, OnDestroy {
|
|||||||
this.router.navigate([ '../../pdRecord',pdID], { relativeTo: this.route });
|
this.router.navigate([ '../../pdRecord',pdID], { relativeTo: this.route });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// direct trigger the pd
|
||||||
|
directTriggerPD(data: any){
|
||||||
|
//if(data.)
|
||||||
|
}
|
||||||
|
|
||||||
// updateViewComponent(editBack:string) {
|
// updateViewComponent(editBack:string) {
|
||||||
|
|
||||||
// if(editBack=='1'){
|
// if(editBack=='1'){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user