Merged PR 928: #2310 AHF Nachbestellen Vormerker

#2310 AHF Nachbestellen Vormerker

Related work items: #2310
This commit is contained in:
Andreas Schickinger
2021-10-21 15:57:38 +00:00
committed by Lorenz Hilpert
parent 13e0e4b5fa
commit a207fc90dc
3 changed files with 9 additions and 2 deletions

View File

@@ -30,6 +30,7 @@
<span></span>
<span class="number">Bestand</span>
<span>MS</span>
<span title="Vormerker">VM</span>
<span>vsl. Lieferdatum</span>
<span class="number">Preis</span>
<span></span>
@@ -39,6 +40,9 @@
<span class="first-cell">{{ availability.supplier | supplierName }}</span>
<span class="number">{{ availability.qty || 0 }}</span>
<span>{{ availability.ssc }}</span>
<span>
<ui-checkbox *ngIf="availability.supplier !== 'F'" [(ngModel)]="availability.isPrebooked"> </ui-checkbox>
</span>
<span>{{ availability.at | date: 'dd.MM.yy' }}</span>
<span class="number">{{ availability.price?.value?.value | currency: 'EUR':'code' }}</span>
<span>

View File

@@ -46,7 +46,7 @@ hr {
.supplier-grid {
@apply grid font-bold;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
grid-template-columns: repeat(7, 1fr);
span:not(.first-cell) {
@apply text-center;
@@ -62,7 +62,8 @@ hr {
border-bottom: 2px solid #e0ebf5;
}
ui-select-bullet {
ui-select-bullet,
ui-checkbox {
@apply flex justify-center;
}
}

View File

@@ -2,6 +2,7 @@ import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { ProductImageModule } from '@cdn/product-image';
import { UiCheckboxModule } from '@ui/checkbox';
import { UiIconModule } from '@ui/icon';
import { UiQuantityDropdownModule } from '@ui/quantity-dropdown';
import { UiSelectBulletModule } from '@ui/select-bullet';
@@ -19,6 +20,7 @@ import { SupplierNamePipe } from './supplier-name.pipe';
ReactiveFormsModule,
UiSpinnerModule,
UiQuantityDropdownModule,
UiCheckboxModule,
],
exports: [ReorderModalComponent, SupplierNamePipe],
declarations: [ReorderModalComponent, SupplierNamePipe],