From 9f41207d9e3ed25483aee1bb66572aad8428f70a Mon Sep 17 00:00:00 2001 From: ikuzenkuna Date: Thu, 13 Nov 2025 18:45:54 +0100 Subject: [PATCH] added modal into stock page --- src/app/compontents/stock-table/stock-table.html | 9 +++++++-- src/app/compontents/stock-table/stock-table.ts | 6 +++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/app/compontents/stock-table/stock-table.html b/src/app/compontents/stock-table/stock-table.html index 60fd018..1f3da5f 100644 --- a/src/app/compontents/stock-table/stock-table.html +++ b/src/app/compontents/stock-table/stock-table.html @@ -8,6 +8,7 @@ Weight Nec MinimalQuantity + Action @@ -21,8 +22,12 @@ {{data.nec}} {{data.minimalQuantity}} - modifier - +
+ +
+ +
+
} diff --git a/src/app/compontents/stock-table/stock-table.ts b/src/app/compontents/stock-table/stock-table.ts index 1cbfd60..7a98249 100644 --- a/src/app/compontents/stock-table/stock-table.ts +++ b/src/app/compontents/stock-table/stock-table.ts @@ -2,12 +2,16 @@ import { Component } from '@angular/core'; import {StockInfo} from "../../interfaces/stock.interface"; import {NzTableComponent} from "ng-zorro-antd/table"; import {NzButtonComponent} from "ng-zorro-antd/button"; +import {ModalNav} from "../../components/modalNav/modalNav"; +import {NzIconDirective} from "ng-zorro-antd/icon"; @Component({ selector: 'app-stock-table', imports: [ NzTableComponent, - NzButtonComponent + NzButtonComponent, + ModalNav, + NzIconDirective ], templateUrl: './stock-table.html', styleUrl: './stock-table.css',