Deleted search bar
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user