diff --git a/src/app/components/quotation-form/quotation-form.html b/src/app/components/quotation-form/quotation-form.html index 2716fab..0ca8812 100644 --- a/src/app/components/quotation-form/quotation-form.html +++ b/src/app/components/quotation-form/quotation-form.html @@ -1,4 +1,4 @@ -
+ Message du devis @@ -18,15 +18,5 @@ - - - - Fournisseur - - - - - -
diff --git a/src/app/components/quotation-form/quotation-form.ts b/src/app/components/quotation-form/quotation-form.ts index 6db611c..0e7a39c 100644 --- a/src/app/components/quotation-form/quotation-form.ts +++ b/src/app/components/quotation-form/quotation-form.ts @@ -26,15 +26,4 @@ export class QuotationForm { quotationMessage: new FormControl(null), quotationConditionsSale: new FormControl(null), }) - - submitForm() { - // Pour annuler si le formulaire est invalide - if (this.QuotationForm.invalid) return; - - // Pour obtenir la valeur du formulaire - console.log(this.QuotationForm.getRawValue()) - - // Pour vider le formulaire - this.QuotationForm.reset() - } } diff --git a/src/app/components/stock-table/stock-table.html b/src/app/components/stock-table/stock-table.html index 175df95..29daffa 100644 --- a/src/app/components/stock-table/stock-table.html +++ b/src/app/components/stock-table/stock-table.html @@ -1,6 +1,7 @@ diff --git a/src/app/pages/quotation/quotation.html b/src/app/pages/quotation/quotation.html index 2edf3b6..92efc0e 100644 --- a/src/app/pages/quotation/quotation.html +++ b/src/app/pages/quotation/quotation.html @@ -1,8 +1,4 @@
- - - -
diff --git a/src/app/pages/quotation/quotation.ts b/src/app/pages/quotation/quotation.ts index c22b8c2..02508f9 100644 --- a/src/app/pages/quotation/quotation.ts +++ b/src/app/pages/quotation/quotation.ts @@ -1,17 +1,11 @@ import { Component } from '@angular/core'; import {Search} from "../../components/search/search"; -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 {QuotationForm} from "../../components/quotation-form/quotation-form"; import {QuotationTable} from "../../components/quotation-table/quotation-table"; @Component({ selector: 'app-quotation', imports: [ - ModalButton, Search, - QuotationForm, QuotationTable ], templateUrl: './quotation.html',