update searchbar on supplier and stock

This commit is contained in:
Enzo
2025-12-11 17:14:23 +01:00
parent 25de3eae4b
commit 8d98a01c22
11 changed files with 62 additions and 21 deletions
+1 -2
View File
@@ -8,9 +8,8 @@
<app-supplier-form #supplierForm></app-supplier-form>
</app-modal-button>
<div class="ml-95 w-150">
<app-search></app-search>
<app-search (searchEvent)="onSupplierSearch($event)"></app-search>
</div>
</div>
+4
View File
@@ -36,6 +36,10 @@ export class Supplier {
this.modal().isVisible = false;
}
onSupplierSearch(query: string) {
this.supplierTable().applySearch(query);
}
async addSupplier() {
if (this.createSupplier().supplierForm.invalid)
{