Creating Supplier Page

This commit is contained in:
Enzo
2025-11-20 16:54:46 +01:00
parent 193bed2b1d
commit 43362c8f77
8 changed files with 402 additions and 3 deletions

View File

@@ -1,9 +1,13 @@
<div class="flex mt-2">
<app-modal-button type="primary" name="Ajouter un fournisseur">
<app-supplier-form></app-supplier-form>
</app-modal-button>
<div class="ml-95 w-150">
<app-search></app-search>
<app-search class="w-full"></app-search>
</div>
</div>
<div class="mt-1">
<p>supplier works!</p>
<app-supplier-table></app-supplier-table>
</div>

View File

@@ -1,10 +1,16 @@
import { Component } 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";
@Component({
selector: 'app-supplier',
imports: [
Search
Search,
SupplierForm,
SupplierTable,
ModalButton
],
templateUrl: './supplier.html',
styleUrl: './supplier.css',