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"> <h2 mat-dialog-title class="paragraph_change">
<div fxFlex="70" style="padding: 10px !important;"> <div fxFlex="70" style="padding: 10px !important;">
<!--{{pageTitle}}--> <!--{{pageTitle}}-->
@ -55,8 +57,8 @@
</mat-dialog-actions> </mat-dialog-actions>
<notifier-container></notifier-container> <notifier-container></notifier-container>
</div><!-- div @1 closed here --> </div><!-- div @3 closed here -->
<div *ngIf="data.lender_role_id == '27'"> <div *ngIf="data.lender_role_id == '27'"><!-- template For CM allocation flow -->
<h2 mat-dialog-title class="paragraph_change"> <h2 mat-dialog-title class="paragraph_change">
<div fxFlex="70" style="padding: 10px !important;"> <div fxFlex="70" style="padding: 10px !important;">
Allocation Allocation
@ -162,9 +164,10 @@
</mat-card> </mat-card>
<notifier-container></notifier-container> <notifier-container></notifier-container>
</div><!-- div @60 closed here --> </div><!-- div @61 closed here -->
</ng-template>
<div *ngIf="data.lender_role_id == '30'"> <ng-template #lenderAdminIn><!-- template For Admin allocation flow -->
<div>
<h2 mat-dialog-title class="paragraph_change"> <h2 mat-dialog-title class="paragraph_change">
<div fxFlex="70" style="padding: 10px !important;"> <div fxFlex="70" style="padding: 10px !important;">
Allocation Allocation
@ -176,7 +179,7 @@
<mat-card> <mat-card>
<mat-tab-group> <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> <ng-template mat-tab-label>Allocation To Credit Manager</ng-template>
<mat-dialog-content class="mat-typography"> <mat-dialog-content class="mat-typography">
@ -243,7 +246,7 @@
</div> </div>
</mat-dialog-actions> </mat-dialog-actions>
</mat-tab> </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> <ng-template mat-tab-label>Allocation To Vendor Officer</ng-template>
<mat-dialog-content class="mat-typography"> <mat-dialog-content class="mat-typography">
<mat-list role="list" *ngIf="vendorOfficerList.length > 0"> <mat-list role="list" *ngIf="vendorOfficerList.length > 0">
@ -277,5 +280,5 @@
</mat-card> </mat-card>
<notifier-container></notifier-container> <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) updateagency(allocateDetails:any)
{ {
alert('updateagency'+allocateDetails.entity_id); // alert('updateagency'+allocateDetails.entity_id);
this.updateData = { this.updateData = {
"pd_id":this.data.pd_id, "pd_id":this.data.pd_id,
// "fk_pd_allocated_to":allocateDetails.fk_user_id, // "fk_pd_allocated_to":allocateDetails.fk_user_id,