Deleted search bar

This commit is contained in:
2026-05-26 14:09:09 +01:00
parent 6e9daf3e60
commit f233c46853
19 changed files with 7 additions and 150 deletions
+1 -6
View File
@@ -22,13 +22,8 @@
<app-create-quotation-form #quotationForm></app-create-quotation-form>
</app-modal-button>
}
<div class="ml-95 w-150">
<app-search (searchEvent)="onProductSearch($event)"></app-search>
</div>
</div>
<div class="mt-1">
<div class="mt-4">
<app-stock-table #stockTable (selectionChange)="onSelectionChange($event)"></app-stock-table>
</div>
-6
View File
@@ -1,6 +1,5 @@
import {Component, inject, viewChild} from '@angular/core';
import {StockTable} from "../../components/stock-table/stock-table";
import {Search} from "../../components/search/search";
import {ModalButton} from "../../components/modal-button/modal-button";
import {PurchaseordersService, QuotationsService} from "../../services/api";
import {NzNotificationService} from "ng-zorro-antd/notification";
@@ -12,7 +11,6 @@ import {CreateQuotationForm} from "../../components/create-quotation-form/create
selector: 'app-stock',
imports: [
StockTable,
Search,
ModalButton,
CreatePurchaseorderForm,
CreateQuotationForm,
@@ -37,10 +35,6 @@ export class Stock {
this.hasSelection = value;
}
onProductSearch(query: string) {
this.productTable().applySearch(query);
}
async addPurchaseOrder() {
const form = this.createPurchaseOrder().createPurchaseOrderForm;
if (form.invalid) {