Merged PR 1213: #2575 AHF Remi Buttons

#2575 AHF Remi Buttons

Related work items: #2575
This commit is contained in:
Andreas Schickinger
2022-05-02 08:24:20 +00:00
committed by Nino Righi
parent 08ac71dc1b
commit d1eba5f1e2
4 changed files with 14 additions and 5 deletions

View File

@@ -70,8 +70,4 @@
<a *ngIf="listEmpty$ | async" class="cta-action cta-action-secondary" [routerLink]="['/filiale', 'goods', 'in']">
Zur Bestellpostensuche
</a>
<a *ngIf="listEmpty$ | async" class="cta-action cta-action-primary" [routerLink]="['/filiale', 'remission', 'create']">
Zur Remission
</a>
</div>

View File

@@ -59,4 +59,12 @@
<ui-spinner [show]="(changeActionLoader$ | async) || (loading$ | async)">{{ action.label }}</ui-spinner>
</button>
</ng-container>
<a *ngIf="listEmpty$ | async" class="cta-action cta-action-secondary" [routerLink]="['/filiale', 'goods', 'in']">
Zur Bestellpostensuche
</a>
<a *ngIf="listEmpty$ | async" class="cta-action cta-action-primary" [routerLink]="['/filiale', 'remission']">
Zur Remission
</a>
</div>

View File

@@ -47,6 +47,10 @@
.cta-action-primary {
@apply bg-brand text-white;
}
.cta-action-secondary {
@apply bg-white text-brand;
}
}
shared-goods-in-out-order-group-item {

View File

@@ -1,5 +1,6 @@
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { GoodsInOutOrderGroupModule } from '@shared/goods-in-out';
import { UiCommonModule } from '@ui/common';
import { UiScrollContainerModule } from '@ui/scroll-container';
@@ -8,7 +9,7 @@ import { UiSpinnerModule } from 'apps/ui/spinner/src/lib/ui-spinner.module';
import { GoodsInRemissionPreviewComponent } from './goods-in-remission-preview.component';
@NgModule({
imports: [CommonModule, UiCommonModule, UiScrollContainerModule, UiSpinnerModule, GoodsInOutOrderGroupModule],
imports: [CommonModule, UiCommonModule, UiScrollContainerModule, UiSpinnerModule, GoodsInOutOrderGroupModule, RouterModule],
exports: [GoodsInRemissionPreviewComponent],
declarations: [GoodsInRemissionPreviewComponent],
providers: [],