Save Bill Works

This commit is contained in:
Amritanshu
2019-07-13 21:32:18 +05:30
parent bcad4cdae3
commit 7d06a2f961
43 changed files with 660 additions and 349 deletions

View File

@ -21,11 +21,11 @@ export class RunningTablesComponent implements OnInit {
}
navigateToBill(table: Table): void {
let qp = {table: table.id};
const qp = {table: table.id};
if (table.voucherId) {
qp["voucher"] = table.voucherId;
qp['voucher'] = table.voucherId;
}
let navigationExtras: NavigationExtras = {
const navigationExtras: NavigationExtras = {
queryParams: qp,
queryParamsHandling: 'merge',
preserveFragment: true