mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Merged PR 2050: feature(checkout-reward): Disable Print Order Confirmation for HSC Users
feature(checkout-reward): Disable Print Order Confirmation for HSC Users Ref: #5471
This commit is contained in:
committed by
Lorenz Hilpert
parent
dc26c4de04
commit
b93e39068c
@@ -2,6 +2,9 @@
|
||||
Prämienausgabe abgeschlossen
|
||||
</h1>
|
||||
|
||||
<common-print-button printerType="label" [printFn]="printFn"
|
||||
<common-print-button
|
||||
*ifNotRole="Role.CallCenter"
|
||||
printerType="label"
|
||||
[printFn]="printFn"
|
||||
>Prämienbeleg drucken</common-print-button
|
||||
>
|
||||
|
||||
@@ -2,15 +2,17 @@ import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
|
||||
import { CheckoutPrintFacade } from '@isa/checkout/data-access';
|
||||
import { PrintButtonComponent, Printer } from '@isa/common/print';
|
||||
import { OrderConfiramtionStore } from '../reward-order-confirmation.store';
|
||||
import { IfRoleDirective, Role } from '@isa/core/auth';
|
||||
|
||||
@Component({
|
||||
selector: 'checkout-order-confirmation-header',
|
||||
templateUrl: './order-confirmation-header.component.html',
|
||||
styleUrls: ['./order-confirmation-header.component.css'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
imports: [PrintButtonComponent],
|
||||
imports: [PrintButtonComponent, IfRoleDirective],
|
||||
})
|
||||
export class OrderConfirmationHeaderComponent {
|
||||
protected readonly Role = Role;
|
||||
#checkoutPrintFacade = inject(CheckoutPrintFacade);
|
||||
#store = inject(OrderConfiramtionStore);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user