diff --git a/libs/checkout/feature/reward-catalog/src/lib/reward-header/reward-customer-card/reward-customer-card.component.css b/libs/checkout/feature/reward-catalog/src/lib/reward-header/reward-customer-card/reward-customer-card.component.css index 1d9175437..e37c98ce2 100644 --- a/libs/checkout/feature/reward-catalog/src/lib/reward-header/reward-customer-card/reward-customer-card.component.css +++ b/libs/checkout/feature/reward-catalog/src/lib/reward-header/reward-customer-card/reward-customer-card.component.css @@ -1,3 +1,3 @@ :host { - @apply h-32 w-full flex flex-row gap-20 rounded-2xl bg-isa-neutral-400 p-6; + @apply h-32 w-full flex flex-row gap-20 rounded-2xl bg-isa-neutral-400 p-6 text-isa-neutral-900; } diff --git a/libs/checkout/feature/reward-catalog/src/lib/reward-header/reward-customer-card/reward-customer-card.component.html b/libs/checkout/feature/reward-catalog/src/lib/reward-header/reward-customer-card/reward-customer-card.component.html index a9dad190b..2e0ff80d1 100644 --- a/libs/checkout/feature/reward-catalog/src/lib/reward-header/reward-customer-card/reward-customer-card.component.html +++ b/libs/checkout/feature/reward-catalog/src/lib/reward-header/reward-customer-card/reward-customer-card.component.html @@ -1,13 +1,25 @@ -
+
- NAME {{ card().firstName }} - {{ card().lastName }} - {{ card().totalPoints }} + {{ card()?.firstName }} {{ card()?.lastName }} + + {{ card()?.totalPoints ?? 0 }} Lesepunkte
- + + Zurücksetzen +
- Prämien ausgewählt - 0 + Prämien ausgewählt + 0
diff --git a/libs/checkout/feature/reward-catalog/src/lib/reward-header/reward-customer-card/reward-customer-card.component.ts b/libs/checkout/feature/reward-catalog/src/lib/reward-header/reward-customer-card/reward-customer-card.component.ts index f59bd97aa..b122da62a 100644 --- a/libs/checkout/feature/reward-catalog/src/lib/reward-header/reward-customer-card/reward-customer-card.component.ts +++ b/libs/checkout/feature/reward-catalog/src/lib/reward-header/reward-customer-card/reward-customer-card.component.ts @@ -1,12 +1,10 @@ import { ChangeDetectionStrategy, Component, - linkedSignal, inject, input, } from '@angular/core'; -import { ButtonComponent } from '@isa/ui/buttons'; -import { RouterLink } from '@angular/router'; +import { TextButtonComponent } from '@isa/ui/buttons'; import { BonusCardInfo, SelectedCustomerFacade } from '@isa/crm/data-access'; import { injectTabId } from '@isa/core/tabs'; @@ -15,7 +13,7 @@ import { injectTabId } from '@isa/core/tabs'; templateUrl: './reward-customer-card.component.html', styleUrl: './reward-customer-card.component.css', changeDetection: ChangeDetectionStrategy.OnPush, - imports: [ButtonComponent, RouterLink], + imports: [TextButtonComponent], }) export class RewardCustomerCardComponent { tabId = injectTabId();