added getall and delete functions for deliverynote page

This commit is contained in:
2025-11-30 14:28:18 +01:00
parent 387df7fd69
commit 7535689eef
12 changed files with 143 additions and 206 deletions

View File

@@ -1,11 +1,15 @@
<form nz-form nzLayout="horizontal" [formGroup]="deliveryNoteForm" (ngSubmit)="submitForm()">
<form nz-form nzLayout="horizontal" [formGroup]="deliveryNoteForm">
<nz-form-item nz-flex>
<nz-form-label nzSpan="9" nzRequired>
Transporteur
</nz-form-label>
<nz-form-control nzSpan="12" nzErrorTip="Ce champ est requis">
<input nz-input placeholder="Transporteur" formControlName="deliverer">
<nz-select formControlName="deliverer" [nzPlaceHolder]="'Choisir un transporteur'" nzShowSearch [nzFilterOption]="filter">
@for (deliverer of deliverers(); track deliverer.id) {
<nz-option [nzValue]="deliverer.id" [nzLabel]="deliverer.transporter"></nz-option>
}
</nz-select>
</nz-form-control>
</nz-form-item>