diff --git a/src/app/components/purchase-order-table/purchase-order-table.html b/src/app/components/purchase-order-table/purchase-order-table.html
index 7e08ab4..35d3220 100644
--- a/src/app/components/purchase-order-table/purchase-order-table.html
+++ b/src/app/components/purchase-order-table/purchase-order-table.html
@@ -57,8 +57,6 @@
-
-
diff --git a/src/app/components/quotation-table/quotation-table.html b/src/app/components/quotation-table/quotation-table.html
index 37da021..2adde02 100644
--- a/src/app/components/quotation-table/quotation-table.html
+++ b/src/app/components/quotation-table/quotation-table.html
@@ -57,8 +57,6 @@
|
-
-
diff --git a/src/app/components/search/search.css b/src/app/components/search/search.css
deleted file mode 100644
index da8a92a..0000000
--- a/src/app/components/search/search.css
+++ /dev/null
@@ -1,36 +0,0 @@
-/* From Uiverse.io by LightAndy1 */
-.group {
- box-shadow: 0 1px 2px 1px #001529;
- border-radius: 15px;
- padding: 0.1rem 0.5rem 0.1rem 1rem;
- display: flex;
- line-height: 28px;
- align-items: center;
- position: relative;
- max-width: 400px;
-}
-
-.input {
- width: 100%;
- height: 32px;
- line-height: 28px;
- padding: 0 1rem;
- border: 2px solid transparent;
- border-radius: 8px;
- outline: none;
- background-color: #f3f3f4;
- color: #0d0c22;
- transition: 0.3s ease;
-}
-
-.input::placeholder {
- color: #9e9ea7;
-}
-
-.input:focus,
-input:hover {
- outline: none;
- border-color: #40A9FF;
- background-color: #fff;
- box-shadow: 0 0 0 4px rgba(199, 199, 197, 0.1);
-}
diff --git a/src/app/components/search/search.html b/src/app/components/search/search.html
deleted file mode 100644
index 22e4ccb..0000000
--- a/src/app/components/search/search.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
diff --git a/src/app/components/search/search.ts b/src/app/components/search/search.ts
deleted file mode 100644
index 7c3afff..0000000
--- a/src/app/components/search/search.ts
+++ /dev/null
@@ -1,35 +0,0 @@
-import {Component, output} from '@angular/core';
-import {NzIconDirective} from "ng-zorro-antd/icon";
-import {NzColDirective} from "ng-zorro-antd/grid";
-import {NzFlexDirective} from "ng-zorro-antd/flex";
-import {NzFormControlComponent, NzFormDirective, NzFormItemComponent} from "ng-zorro-antd/form";
-import {FormControl, FormGroup, ReactiveFormsModule} from "@angular/forms";
-
-@Component({
- selector: 'app-search',
- imports: [
- NzIconDirective,
- NzColDirective,
- NzFlexDirective,
- NzFormControlComponent,
- NzFormDirective,
- NzFormItemComponent,
- ReactiveFormsModule
- ],
- templateUrl: './search.html',
- styleUrl: './search.css',
-})
-export class Search {
- searchForm: FormGroup = new FormGroup({
- searchValue: new FormControl (null)
- })
-
- searchEvent = output();
-
- OnSearch(): void {
- const raw = this.searchForm.controls['searchValue'].value ?? '';
- const value = String(raw).trim();
- this.searchEvent.emit(value);
-
- }
-}
diff --git a/src/app/pages/deliverer/deliverer.html b/src/app/pages/deliverer/deliverer.html
index c8e69d1..e7f9268 100644
--- a/src/app/pages/deliverer/deliverer.html
+++ b/src/app/pages/deliverer/deliverer.html
@@ -8,12 +8,8 @@
-
-
-
+
diff --git a/src/app/pages/deliverer/deliverer.ts b/src/app/pages/deliverer/deliverer.ts
index e2baf31..9178473 100644
--- a/src/app/pages/deliverer/deliverer.ts
+++ b/src/app/pages/deliverer/deliverer.ts
@@ -2,7 +2,6 @@ import {Component, inject, viewChild} from '@angular/core';
import {ModalButton} from "../../components/modal-button/modal-button";
import {DelivererTable} from "../../components/deliverer-table/deliverer-table";
import {DelivererForm} from "../../components/deliverer-form/deliverer-form";
-import {Search} from "../../components/search/search";
import {DeliverersService} from "../../services/api";
import {NzNotificationService} from "ng-zorro-antd/notification";
import {firstValueFrom} from "rxjs";
@@ -13,7 +12,6 @@ import {firstValueFrom} from "rxjs";
ModalButton,
DelivererTable,
DelivererForm,
- Search
],
templateUrl: './deliverer.html',
styleUrl: './deliverer.css',
diff --git a/src/app/pages/delivery-note/delivery-note.html b/src/app/pages/delivery-note/delivery-note.html
index ac33ecb..2b50d1f 100644
--- a/src/app/pages/delivery-note/delivery-note.html
+++ b/src/app/pages/delivery-note/delivery-note.html
@@ -1,9 +1,3 @@
-
-
-
+
diff --git a/src/app/pages/delivery-note/delivery-note.ts b/src/app/pages/delivery-note/delivery-note.ts
index df0ca0b..c35faa1 100644
--- a/src/app/pages/delivery-note/delivery-note.ts
+++ b/src/app/pages/delivery-note/delivery-note.ts
@@ -1,14 +1,10 @@
import {Component} from '@angular/core';
import {DelivereryNoteTable} from "../../components/deliverery-note-table/deliverery-note-table";
-import {ModalButton} from "../../components/modal-button/modal-button";
-import {DelivereryNoteForm} from "../../components/deliverery-note-form/deliverery-note-form";
-import {Search} from "../../components/search/search";
@Component({
selector: 'app-delivery-note',
imports: [
DelivereryNoteTable,
- Search
],
templateUrl: './delivery-note.html',
styleUrl: './delivery-note.css',
diff --git a/src/app/pages/purchase-order/purchase-order.html b/src/app/pages/purchase-order/purchase-order.html
index 9e67c89..b904151 100644
--- a/src/app/pages/purchase-order/purchase-order.html
+++ b/src/app/pages/purchase-order/purchase-order.html
@@ -1,10 +1,4 @@
-
-
-
+
diff --git a/src/app/pages/purchase-order/purchase-order.ts b/src/app/pages/purchase-order/purchase-order.ts
index c8f63bf..55da4aa 100644
--- a/src/app/pages/purchase-order/purchase-order.ts
+++ b/src/app/pages/purchase-order/purchase-order.ts
@@ -1,11 +1,9 @@
import {Component} from '@angular/core';
-import {Search} from "../../components/search/search";
import {PurchaseOrderTable} from "../../components/purchase-order-table/purchase-order-table";
@Component({
selector: 'app-purchase-order',
imports: [
- Search,
PurchaseOrderTable,
],
templateUrl: './purchase-order.html',
diff --git a/src/app/pages/quotation/quotation.html b/src/app/pages/quotation/quotation.html
index 92efc0e..a03e0d8 100644
--- a/src/app/pages/quotation/quotation.html
+++ b/src/app/pages/quotation/quotation.html
@@ -1,9 +1,3 @@
-
-
-
+
diff --git a/src/app/pages/quotation/quotation.ts b/src/app/pages/quotation/quotation.ts
index 07ba09c..b3380f2 100644
--- a/src/app/pages/quotation/quotation.ts
+++ b/src/app/pages/quotation/quotation.ts
@@ -1,11 +1,9 @@
import {Component} from '@angular/core';
-import {Search} from "../../components/search/search";
import {QuotationTable} from "../../components/quotation-table/quotation-table";
@Component({
selector: 'app-quotation',
imports: [
- Search,
QuotationTable
],
templateUrl: './quotation.html',
diff --git a/src/app/pages/stock/stock.html b/src/app/pages/stock/stock.html
index f123e20..be430c1 100644
--- a/src/app/pages/stock/stock.html
+++ b/src/app/pages/stock/stock.html
@@ -22,13 +22,8 @@
}
-
-
-
+
\ No newline at end of file
diff --git a/src/app/pages/stock/stock.ts b/src/app/pages/stock/stock.ts
index 9107402..e30b475 100644
--- a/src/app/pages/stock/stock.ts
+++ b/src/app/pages/stock/stock.ts
@@ -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) {
diff --git a/src/app/pages/supplier/supplier.html b/src/app/pages/supplier/supplier.html
index 08475ce..6a6f549 100644
--- a/src/app/pages/supplier/supplier.html
+++ b/src/app/pages/supplier/supplier.html
@@ -8,11 +8,8 @@
-
-
+
diff --git a/src/app/pages/supplier/supplier.ts b/src/app/pages/supplier/supplier.ts
index 0f8e443..2e12b94 100644
--- a/src/app/pages/supplier/supplier.ts
+++ b/src/app/pages/supplier/supplier.ts
@@ -1,5 +1,4 @@
import {Component, inject, viewChild} from '@angular/core';
-import {Search} from "../../components/search/search";
import {ModalButton} from "../../components/modal-button/modal-button";
import {SupplierTable} from "../../components/supplier-table/supplier-table";
import {SupplierForm} from "../../components/supplier-form/supplier-form";
@@ -10,7 +9,6 @@ import {firstValueFrom} from "rxjs";
@Component({
selector: 'app-supplier',
imports: [
- Search,
SupplierForm,
SupplierTable,
ModalButton
@@ -36,10 +34,6 @@ export class Supplier {
this.modal().isVisible = false;
}
- onSupplierSearch(query: string) {
- this.supplierTable().applySearch(query);
- }
-
async addSupplier() {
if (this.createSupplier().supplierForm.invalid) {
this.notificationService.error(
diff --git a/src/app/pages/user/user.html b/src/app/pages/user/user.html
index a2e991b..c02b772 100644
--- a/src/app/pages/user/user.html
+++ b/src/app/pages/user/user.html
@@ -8,12 +8,8 @@
-
-
-
+
diff --git a/src/app/pages/user/user.ts b/src/app/pages/user/user.ts
index 7b74ff6..eb46672 100644
--- a/src/app/pages/user/user.ts
+++ b/src/app/pages/user/user.ts
@@ -2,7 +2,6 @@ import {Component, inject, viewChild} from '@angular/core';
import {UserTable} from "../../components/user-table/user-table";
import {ModalButton} from "../../components/modal-button/modal-button";
import {ProfilForm} from "../../components/profil-form/profil-form";
-import {Search} from "../../components/search/search";
import {UsersService} from "../../services/api";
import {NzNotificationService} from "ng-zorro-antd/notification";
import {firstValueFrom} from "rxjs";
@@ -13,7 +12,6 @@ import {firstValueFrom} from "rxjs";
UserTable,
ModalButton,
ProfilForm,
- Search
],
templateUrl: './user.html',
styleUrl: './user.css',
|