From d0b7be7315097549e8c12b259a03de87ea745c7e Mon Sep 17 00:00:00 2001 From: tzanatos Date: Fri, 21 Nov 2025 13:40:19 +0200 Subject: [PATCH 01/13] added shopping cart in products portal --- .../preview-market-place-item.component.html | 4 ++-- .../preview-market-place-item.component.ts | 6 +++++- src/app/shared/navbar/navbar.component.html | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/app/p_product/marketplace/preview-market-place-item/preview-market-place-item.component.html b/src/app/p_product/marketplace/preview-market-place-item/preview-market-place-item.component.html index e5645e7..ccb2bac 100644 --- a/src/app/p_product/marketplace/preview-market-place-item/preview-market-place-item.component.html +++ b/src/app/p_product/marketplace/preview-market-place-item/preview-market-place-item.component.html @@ -39,14 +39,14 @@ - + diff --git a/src/app/p_product/marketplace/preview-market-place-item/preview-market-place-item.component.ts b/src/app/p_product/marketplace/preview-market-place-item/preview-market-place-item.component.ts index 2d5fff5..c4e2e85 100644 --- a/src/app/p_product/marketplace/preview-market-place-item/preview-market-place-item.component.ts +++ b/src/app/p_product/marketplace/preview-market-place-item/preview-market-place-item.component.ts @@ -4,6 +4,7 @@ import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; import { ProductOffering, ProductSpecification } from 'src/app/openApis/productCatalogManagement/models'; import { ProductSpecificationService } from 'src/app/openApis/productCatalogManagement/services'; import { fadeIn } from 'src/app/shared/animations/animations'; +import { AuthService } from 'src/app/shared/services/auth.service'; import { ThemingService } from 'src/app/theming/theming.service'; @Component({ @@ -20,7 +21,8 @@ export class PreviewMarketPlaceItemComponent implements OnInit { }, private dialogRef: MatDialogRef, private specService: ProductSpecificationService, - private themingService: ThemingService + private themingService: ThemingService, + public authService: AuthService ) { } productOffering: ProductOffering @@ -54,6 +56,8 @@ export class PreviewMarketPlaceItemComponent implements OnInit { } + placeInOrderList() {} + closeDialog() { this.dialogRef.close() } diff --git a/src/app/shared/navbar/navbar.component.html b/src/app/shared/navbar/navbar.component.html index b607aac..685b82b 100644 --- a/src/app/shared/navbar/navbar.component.html +++ b/src/app/shared/navbar/navbar.component.html @@ -261,7 +261,7 @@