Feature: Exit guard if bill is dirty is sales to prevent accidentally backing out of a bill with data.

This commit is contained in:
2021-06-29 08:58:07 +05:30
parent fd2659eee5
commit 0d41c0e345
6 changed files with 53 additions and 3 deletions

View File

@ -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);
}
}