FIxes 1 : ps

This commit is contained in:
VE10-Sanjeev 2022-08-10 22:12:20 +05:30
parent 973deedae6
commit 66d97ceb0d

View File

@ -40,7 +40,7 @@
<button *ngIf="roleAccessDetails.trigger && ((LenderRoleID == '25' || LenderRoleID == '30') && (currentPDStatus==pdStatusCheck.DRAFT || currentPDStatus==pdStatusCheck.TRIGGERED || currentPDStatus==pdStatusCheck.ALLOCATED)) || (currentPDStatus==pdStatusCheck.DRAFT)" mat-raised-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" (click)="editPdMaster(master)" matTooltipPosition="above" matTooltip="Edit PD Master"><mat-icon>edit</mat-icon></button>
<button *ngIf="roleAccessDetails.trigger && currentPDStatus==pdStatusCheck.DRAFT" mat-raised-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="Trigger" matTooltipPosition="above" (click)="directTriggerPD(mandatoryFieldsValidations,master)"><mat-icon>flash_on</mat-icon></button>
<span *ngIf="is_agency_logged_in ==false">
<button *ngIf="(master.lender_short_name != 'MWISE') || (master.lender_short_name == 'MWISE' && LenderRoleID != '25' && currentPDStatus==pdStatusCheck.COMPLETED ||currentVendorStatus=='QC COMPLETED'||currentVendorStatus=='COMPLETED') && roleAccessDetails.reports && master.pd_type_name" mat-raised-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="PD Report" matTooltipPosition="above" (click)="smcCreditPDReport(viewID)"><mat-icon>ballot</mat-icon></button>
<button *ngIf="(master.lender_short_name != 'MWISE') || (master.lender_short_name == 'MWISE' && LenderRoleID != '25' && currentPDStatus==pdStatusCheck.COMPLETED ||currentVendorStatus=='QC COMPLETED') && roleAccessDetails.reports && master.pd_type_name" mat-raised-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="PD Report" matTooltipPosition="above" (click)="smcCreditPDReport(viewID)"><mat-icon>ballot</mat-icon></button>
<button *ngIf="(master.lender_short_name != 'MWISE') || (master.lender_short_name == 'MWISE' && LenderRoleID != '25' && currentPDStatus==pdStatusCheck.COMPLETED ||currentVendorStatus=='QC COMPLETED'||currentVendorStatus=='COMPLETED') && roleAccessDetails.reports && master.pd_type_name" mat-raised-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="Download Excel" matTooltipPosition="above" (click)="downloadExcel(viewID)"><mat-icon>download</mat-icon></button>
</span>
<span *ngIf="is_agency_logged_in ==true">
@ -48,7 +48,7 @@
<button *ngIf="master.lender_short_name == 'MWISE' && (LenderRoleID == '28' || LenderRoleID == '30') && (currentVendorStatus=='COMPLETED'||currentVendorStatus=='QC_COMPLETED') && roleAccessDetails.reports && master.pd_type_name" mat-raised-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="Download Excel" matTooltipPosition="above" (click)="downloadExcel(viewID)"><mat-icon>download</mat-icon></button>
</span>
<button *ngIf="(userId == '342' || userId == '343' || userId == '392')" mat-raised-button mat-icon-button class="mr-1 ml-1 hover-icon" type="button" matTooltip="Download PD Pictures" matTooltipPosition="above" [matMenuTriggerFor]="menu1">
<button *ngIf="(LenderRoleID == '28' || LenderRoleID == '25' || LenderRoleID == '26')" mat-raised-button mat-icon-button class="mr-1 ml-1 hover-icon" type="button" matTooltip="Download PD Pictures" matTooltipPosition="above" [matMenuTriggerFor]="menu1">
<mat-icon>save_alt</mat-icon>
</button>
<mat-menu #menu1="matMenu">
@ -63,7 +63,7 @@
</button>
</mat-menu>
<button *ngIf="(userId == '342' || userId == '343' || userId == '392')" mat-raised-button mat-icon-button class="mr-1 ml-1 hover-icon" type="button" matTooltip="Download PD Pictures (PDF)" matTooltipPosition="above" [matMenuTriggerFor]="menu2">
<button *ngIf="(LenderRoleID == '28' || LenderRoleID == '25' || LenderRoleID == '26')" mat-raised-button mat-icon-button class="mr-1 ml-1 hover-icon" type="button" matTooltip="Download PD Pictures (PDF)" matTooltipPosition="above" [matMenuTriggerFor]="menu2">
<mat-icon>picture_as_pdf</mat-icon></button>
<mat-menu #menu2="matMenu">
<button mat-menu-item (click)="downloadPDImagesPDF(1)">