routing issue
This commit is contained in:
parent
98bea78523
commit
0723fa1465
16047
ng6-seed/package-lock.json
generated
16047
ng6-seed/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
BIN
ng6-seed/salespd_pwa_Test (02-04-2022).zip
Normal file
BIN
ng6-seed/salespd_pwa_Test (02-04-2022).zip
Normal file
Binary file not shown.
@ -102,7 +102,11 @@
|
|||||||
<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">
|
<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">
|
||||||
<button style="float: right" mat-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="PDF Download" [disabled]="details.status != 'COMPLETED'"
|
<button style="float: right" mat-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" matTooltip="PDF Download" [disabled]="details.status != 'COMPLETED'"
|
||||||
matTooltipPosition="top" color="primary" (click)="salesPDpdf(details.sales_pd_id)"><mat-icon>file_download</mat-icon></button>
|
matTooltipPosition="top" color="primary" (click)="salesPDpdf(details.sales_pd_id)"><mat-icon>file_download</mat-icon></button>
|
||||||
<button [disabled]="((roleID===11)? false:((details.status === 'COMPLETED')?true:false))" mat-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" color="primary" (click)="editForm(details)"
|
<!-- <button [disabled]="((roleID===11)? false:((details.status === 'COMPLETED')?true:false))" mat-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" color="primary" (click)="editForm(details)"
|
||||||
|
matTooltip="View" matTooltipPosition="top"><mat-icon>visibility</mat-icon></button> -->
|
||||||
|
<!-- <button [disabled]="((roleID===11)? false:((details.status === 'COMPLETED')?true:false))" mat-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" color="primary" (click)="editForm(details)"
|
||||||
|
matTooltip="View" matTooltipPosition="top"><mat-icon>visibility</mat-icon></button> -->
|
||||||
|
<button [disabled]="((roleID == 11)?false:true)" mat-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" color="primary" (click)="editForm(details)"
|
||||||
matTooltip="View" matTooltipPosition="top"><mat-icon>visibility</mat-icon></button>
|
matTooltip="View" matTooltipPosition="top"><mat-icon>visibility</mat-icon></button>
|
||||||
<!-- <div *ngIf="roleID == 11">
|
<!-- <div *ngIf="roleID == 11">
|
||||||
<button *ngIf="details.status == 'COMPLETED'" mat-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" color="primary" (click)="editForm(details)"
|
<button *ngIf="details.status == 'COMPLETED'" mat-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" color="primary" (click)="editForm(details)"
|
||||||
|
|||||||
@ -77,7 +77,8 @@ export class LoginComponent implements OnInit{
|
|||||||
this.getCommonSettings();
|
this.getCommonSettings();
|
||||||
// local storage for validate user access
|
// local storage for validate user access
|
||||||
localStorage.setItem('user_role',res.idToken.payload["custom:role_id"]);
|
localStorage.setItem('user_role',res.idToken.payload["custom:role_id"]);
|
||||||
this.router.navigate(['/']);
|
//this.router.navigate(['/']);
|
||||||
|
this.router.navigate(['/sales-pd-list']);
|
||||||
}
|
}
|
||||||
this.loaderService.closeMatSpinnerDialog();
|
this.loaderService.closeMatSpinnerDialog();
|
||||||
}, err => {
|
}, err => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user