flyfi report
This commit is contained in:
parent
5c6b9d2a79
commit
a2f69f3714
@ -93,10 +93,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<div fxFlex.xs="20" fxFlex.sm="20" fxFlex.md="20.66" fxFlex.lg="20.66" fxFlex.xl="20.66" class="cell center">
|
<div fxFlex.xs="20" fxFlex.sm="20" fxFlex.md="20.66" fxFlex.lg="20.66" fxFlex.xl="20.66" class="cell center">
|
||||||
<div fxFlex="row">
|
<div fxFlex="row">
|
||||||
<!-- <div fxFlex.xs="20" fxFlex.sm="20" fxFlex.md="20.66" fxFlex.lg="20.66" fxFlex.xl="20.66" class="cell center">
|
<div fxFlex.xs="20" fxFlex.sm="20" fxFlex.md="20.66" fxFlex.lg="20.66" fxFlex.xl="20.66" class="cell center">
|
||||||
<button style="float: right" mat-button mat-icon-button class="hover-icon" type="button" matTooltip="PDF Download" [disabled]="details.status != 'COMPLETED'"
|
<button style="float: right" mat-button mat-icon-button class="hover-icon" type="button" matTooltip="PDF Download" [disabled]="details.status != 'COMPLETED'"
|
||||||
matTooltipPosition="left" [ngStyle]="{'color':roleID == 20 ? '#0d93a9' :'#f44336'}" (click)="salesPDpdf(details.sales_pd_id)"><mat-icon>file_download</mat-icon></button>
|
matTooltipPosition="left" [ngStyle]="{'color':roleID == 20 ? '#0d93a9' :'#f44336'}" (click)="salesPDpdf(details.sales_pd_id)"><mat-icon [ngStyle]="{'color':details.status == 'COMPLETED' ? '#0d93a9' :'gray'}" >file_download</mat-icon></button>
|
||||||
</div> -->
|
</div>
|
||||||
<div fxFlex.xs="20" fxFlex.sm="20" fxFlex.md="20.66" fxFlex.lg="20.66" fxFlex.xl="20.66" class="cell center">
|
<div fxFlex.xs="20" fxFlex.sm="20" fxFlex.md="20.66" fxFlex.lg="20.66" fxFlex.xl="20.66" class="cell center">
|
||||||
<!-- <button [disabled]="details.status === 'COMPLETED'" mat-button mat-icon-button class="hover-icon" type="button" [ngStyle]="{'color':roleID == 20 ? '#0d93a9' :'#f44336'}" (click)="editForm(details)"
|
<!-- <button [disabled]="details.status === 'COMPLETED'" mat-button mat-icon-button class="hover-icon" type="button" [ngStyle]="{'color':roleID == 20 ? '#0d93a9' :'#f44336'}" (click)="editForm(details)"
|
||||||
matTooltip="View" matTooltipPosition="left"><mat-icon>visibility</mat-icon></button> -->
|
matTooltip="View" matTooltipPosition="left"><mat-icon>visibility</mat-icon></button> -->
|
||||||
|
|||||||
@ -298,6 +298,7 @@ export class FlyHiListComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
salesPDpdf(pdfdetail){
|
salesPDpdf(pdfdetail){
|
||||||
|
console.log(pdfdetail)
|
||||||
this.loaderService.showMatSpinnerDialog('Processing...')
|
this.loaderService.showMatSpinnerDialog('Processing...')
|
||||||
this.SalesPDService.getSalesPdpdf(pdfdetail)
|
this.SalesPDService.getSalesPdpdf(pdfdetail)
|
||||||
.subscribe(
|
.subscribe(
|
||||||
|
|||||||
@ -121,12 +121,14 @@
|
|||||||
|
|
||||||
<div fxFlex.sm="100" fxFlex.xs="100" fxFlex.md="33.33" fxFlex.lg="33.33" fxFlex.xl="33.33" fxFlex="100">
|
<div fxFlex.sm="100" fxFlex.xs="100" fxFlex.md="33.33" fxFlex.lg="33.33" fxFlex.xl="33.33" fxFlex="100">
|
||||||
<div class="menu-links">
|
<div class="menu-links">
|
||||||
|
|
||||||
<span *ngFor="let menuitem of currentUser.short_name == 'MWISE' ? horizontalMenuItems.salesgetAll() : horizontalMenuItems.getAll() | roleMenuItems:'1'">
|
<span *ngFor="let menuitem of currentUser.short_name == 'MWISE' ? horizontalMenuItems.salesgetAll() : horizontalMenuItems.getAll() | roleMenuItems:'1'">
|
||||||
<button mat-icon-button matTooltip="{{ menuitem.name}}" matTooltipPosition="below" [routerLink]="['/'+menuitem.state]" *ngIf="menuitem.type === 'link'">
|
<button mat-icon-button matTooltip="{{ menuitem.name}}" matTooltipPosition="below" [routerLink]="['/'+menuitem.state]" *ngIf="menuitem.type === 'link' && role_id != '20'">
|
||||||
<mat-icon>{{ menuitem.icon }}</mat-icon>
|
<mat-icon>{{ menuitem.icon }}</mat-icon>
|
||||||
<!--<span>{{ menuitem.name | translate }}</span>-->
|
|
||||||
</button>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<!-- <span *ngFor="let menuitem of horizontalMenuItems.getAll()">
|
<!-- <span *ngFor="let menuitem of horizontalMenuItems.getAll()">
|
||||||
<span *ngIf="menuitem.type === 'multi'">
|
<span *ngIf="menuitem.type === 'multi'">
|
||||||
<button [mat-menu-trigger-for]="multi" matTooltip="{{ menuitem.name}}" matTooltipPosition="below" mat-icon-button class="ml-xs" *ngIf="userRoleType=='10'">
|
<button [mat-menu-trigger-for]="multi" matTooltip="{{ menuitem.name}}" matTooltipPosition="below" mat-icon-button class="ml-xs" *ngIf="userRoleType=='10'">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user