deleted notifs components
This commit is contained in:
@@ -10,7 +10,7 @@ import {NzNotificationService} from "ng-zorro-antd/notification";
|
||||
import {firstValueFrom} from "rxjs";
|
||||
|
||||
@Component({
|
||||
selector: 'app-deliverery-note-form',
|
||||
selector: 'app-deliverery-note-form',
|
||||
imports: [
|
||||
NzFormItemComponent,
|
||||
NzFormLabelComponent,
|
||||
@@ -23,14 +23,14 @@ import {firstValueFrom} from "rxjs";
|
||||
NzSelectComponent,
|
||||
NzOptionComponent,
|
||||
],
|
||||
templateUrl: './deliverery-note-form.html',
|
||||
styleUrl: './deliverery-note-form.css',
|
||||
templateUrl: './deliverery-note-form.html',
|
||||
styleUrl: './deliverery-note-form.css',
|
||||
})
|
||||
export class DelivereryNoteForm implements OnInit {
|
||||
deliveryNoteForm: FormGroup = new FormGroup({
|
||||
trackingNumber: new FormControl<string>(null),
|
||||
delivererId: new FormControl<number>(null,[Validators.required]),
|
||||
expeditionDate: new FormControl(null,[Validators.required]),
|
||||
delivererId: new FormControl<number>(null, [Validators.required]),
|
||||
expeditionDate: new FormControl(null, [Validators.required]),
|
||||
estimatedDate: new FormControl(null),
|
||||
realDeliveryDate: new FormControl(null)
|
||||
})
|
||||
@@ -56,7 +56,8 @@ export class DelivereryNoteForm implements OnInit {
|
||||
return option.nzLabel.toLowerCase().includes(input.toLowerCase());
|
||||
}
|
||||
|
||||
deliveryNote= input<GetDeliveryNoteDto>();
|
||||
deliveryNote = input<GetDeliveryNoteDto>();
|
||||
|
||||
constructor() {
|
||||
effect(() => {
|
||||
if (this.deliveryNote()) {
|
||||
|
||||
Reference in New Issue
Block a user