updated delivery note
This commit is contained in:
@@ -29,7 +29,7 @@ import {firstValueFrom} from "rxjs";
|
||||
export class DelivereryNoteForm implements OnInit {
|
||||
deliveryNoteForm: FormGroup = new FormGroup({
|
||||
trackingNumber: new FormControl<string>(null),
|
||||
deliverer: new FormControl<string>(null,[Validators.required]),
|
||||
delivererId: new FormControl<number>(null,[Validators.required]),
|
||||
expeditionDate: new FormControl(null,[Validators.required]),
|
||||
estimatedDate: new FormControl(null),
|
||||
realDeliveryDate: new FormControl(null)
|
||||
@@ -65,7 +65,7 @@ export class DelivereryNoteForm implements OnInit {
|
||||
expeditionDate: this.deliveryNote().expeditionDate,
|
||||
realDeliveryDate: this.deliveryNote().expeditionDate,
|
||||
estimatedDate: this.deliveryNote().expeditionDate,
|
||||
deliverer: this.deliveryNote().delivererId
|
||||
delivererId: this.deliveryNote().delivererId
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user