Feature: Exit guard if bill is dirty is sales to prevent accidentally backing out of a bill with data.
This commit is contained in:
@ -28,7 +28,7 @@ export class PaxComponent implements OnInit {
|
||||
}
|
||||
|
||||
accept(): void {
|
||||
const { pax } = this.form.value;
|
||||
const pax = +this.form.value.pax;
|
||||
this.dialogRef.close(pax);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user