added getall and delete functions for deliverer page

This commit is contained in:
2025-11-30 13:10:12 +01:00
parent a76b184dc1
commit ef1c7eba83
5 changed files with 79 additions and 292 deletions

View File

@@ -24,15 +24,4 @@ export class DelivererForm {
delivererForm: FormGroup = new FormGroup({
transporter: new FormControl<string>(null, [Validators.required])
})
submitForm() {
// Pour annuler si le formulaire est invalide
if (this.delivererForm.invalid) return;
// Pour obtenir la valeur du formulaire
console.log(this.delivererForm.getRawValue())
// Pour vider le formulaire
this.delivererForm.reset()
}
}