condition mistakes fixes : ps

This commit is contained in:
VENBA-emp-10 sanjeev 2022-02-23 10:05:45 +05:30
parent 28b8fce307
commit 2efb81840c
2 changed files with 14 additions and 11 deletions

View File

@ -1,4 +1,6 @@
<div *ngIf="data.lender_role_id != '27' || data.lender_role_id != '30'">
<ng-container *ngIf="data.lender_role_id == '30'; then lenderAdminIn; else lenderAdminOut"> </ng-container>
<ng-template #lenderAdminOut>
<div *ngIf="data.lender_role_id != '27'">
<h2 mat-dialog-title class="paragraph_change">
<div fxFlex="70" style="padding: 10px !important;">
<!--{{pageTitle}}-->
@ -55,8 +57,8 @@
</mat-dialog-actions>
<notifier-container></notifier-container>
</div><!-- div @1 closed here -->
<div *ngIf="data.lender_role_id == '27'">
</div><!-- div @3 closed here -->
<div *ngIf="data.lender_role_id == '27'"><!-- template For CM allocation flow -->
<h2 mat-dialog-title class="paragraph_change">
<div fxFlex="70" style="padding: 10px !important;">
Allocation
@ -162,9 +164,10 @@
</mat-card>
<notifier-container></notifier-container>
</div><!-- div @60 closed here -->
<div *ngIf="data.lender_role_id == '30'">
</div><!-- div @61 closed here -->
</ng-template>
<ng-template #lenderAdminIn><!-- template For Admin allocation flow -->
<div>
<h2 mat-dialog-title class="paragraph_change">
<div fxFlex="70" style="padding: 10px !important;">
Allocation
@ -176,7 +179,7 @@
<mat-card>
<mat-tab-group>
<mat-tab *ngIf="pdOfficerList.length > 0 && this.localagency == 0">
<mat-tab *ngIf="pdOfficerList.length > 0">
<ng-template mat-tab-label>Allocation To Credit Manager</ng-template>
<mat-dialog-content class="mat-typography">
@ -243,7 +246,7 @@
</div>
</mat-dialog-actions>
</mat-tab>
<mat-tab *ngIf="vendorOfficerList.length > 0 && this.localagency != 0">
<mat-tab *ngIf="vendorOfficerList.length > 0 ">
<ng-template mat-tab-label>Allocation To Vendor Officer</ng-template>
<mat-dialog-content class="mat-typography">
<mat-list role="list" *ngIf="vendorOfficerList.length > 0">
@ -277,5 +280,5 @@
</mat-card>
<notifier-container></notifier-container>
</div><!-- div @168 closed here -->
</div><!-- div @169 closed here -->
</ng-template>

View File

@ -184,7 +184,7 @@ export class PdAllocationComponent implements OnInit {
updateagency(allocateDetails:any)
{
alert('updateagency'+allocateDetails.entity_id);
// alert('updateagency'+allocateDetails.entity_id);
this.updateData = {
"pd_id":this.data.pd_id,
// "fk_pd_allocated_to":allocateDetails.fk_user_id,