mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
#1407 Styling Fix in DIG Delivery, Weitere Verfügbarkeiten öffnen Bugfix
This commit is contained in:
@@ -7,9 +7,11 @@
|
||||
<span class="price"
|
||||
>{{ item.catalogAvailability?.price?.value?.value | currency: ' ' }} {{ item.catalogAvailability?.price?.value?.currency }}</span
|
||||
>
|
||||
|
||||
<div class="grow"></div>
|
||||
<span class="delivery">Versandkostenfrei</span>
|
||||
<span class="date">Versanddatum <strong>27.02.21</strong></span>
|
||||
<div class="grow"></div>
|
||||
|
||||
<div>
|
||||
<button type="button" class="select-option" (click)="select()">
|
||||
Auswählen
|
||||
|
||||
@@ -23,6 +23,8 @@ export class BranchesAvalabilityOverviewComponent implements OnInit, OnDestroy {
|
||||
branchInfos: BranchInfoView[] = [];
|
||||
filteredBranchInfos: BranchInfoView[] = [];
|
||||
userBranch: BranchDTO;
|
||||
@Output() loaded = new EventEmitter<void>();
|
||||
|
||||
@Output() destroymodal: EventEmitter<boolean> = new EventEmitter();
|
||||
|
||||
destroy$ = new Subject();
|
||||
@@ -76,6 +78,7 @@ export class BranchesAvalabilityOverviewComponent implements OnInit, OnDestroy {
|
||||
.subscribe((t) => {
|
||||
this.branchInfos = t.filter((b) => b && b.load);
|
||||
this.filteredBranchInfos = this.loadDefaultBranches();
|
||||
this.loaded.emit();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -218,9 +218,9 @@
|
||||
</div>
|
||||
</ng-template>
|
||||
<div class="actions align-right" [ngClass]="{ 'action-partly-loaded': !fullyLoaded }">
|
||||
<app-button (action)="openBranchesAvailabilityModal()" *ngIf="product.formatIcon !== 'EB' && product.formatIcon !== 'DL'"
|
||||
>weitere Verfügbarkeiten</app-button
|
||||
>
|
||||
<app-button (action)="openBranchesAvailabilityModal()" *ngIf="product.formatIcon !== 'EB' && product.formatIcon !== 'DL'">
|
||||
weitere Verfügbarkeiten
|
||||
</app-button>
|
||||
<app-button
|
||||
[primary]="true"
|
||||
[load]="true"
|
||||
@@ -281,6 +281,7 @@
|
||||
|
||||
<ng-container *ngIf="item && loadBranchesInfoComponent">
|
||||
<app-branches-avalability-overview
|
||||
(loaded)="branchesAvailabilityInfo.openDialog()"
|
||||
(destroymodal)="destroyAvailabilityModal($event)"
|
||||
[item]="item"
|
||||
#branchesAvailabilityInfo
|
||||
|
||||
@@ -512,7 +512,6 @@ export class ProductDetailsComponent implements OnInit, OnDestroy {
|
||||
openBranchesAvailabilityModal() {
|
||||
this.loadBranchesInfoComponent = true;
|
||||
this.detectChanges();
|
||||
this.branchesAvailabilityInfo.openDialog();
|
||||
}
|
||||
|
||||
destroyAvailabilityModal() {
|
||||
|
||||
Reference in New Issue
Block a user