Feature: Added ability to change / choose pax once the table is running.
This commit is contained in:
parent
4448869652
commit
4e827c2bd0
@ -43,7 +43,8 @@
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="table-details">
|
||||
<mat-header-cell *matHeaderCellDef class="deep-purple-50 bold right-align"
|
||||
>{{ bs.bill.table.name }} / {{ bs.bill.pax }} /
|
||||
><button>Table: {{ bs.bill.table.name }}</button> /
|
||||
<button (click)="choosePax()">{{ bs.bill.pax }} Pax</button> /
|
||||
{{ bs.bill.customer?.name }}</mat-header-cell
|
||||
>
|
||||
</ng-container>
|
||||
|
@ -55,6 +55,10 @@ export class BillsComponent implements OnInit {
|
||||
if (this.bs.bill.id || this.bs.bill.customer) {
|
||||
return;
|
||||
}
|
||||
this.choosePax();
|
||||
}
|
||||
|
||||
choosePax(): void {
|
||||
const dialogRef = this.dialog.open(PaxComponent, {
|
||||
// width: '750px',
|
||||
data: this.bs.bill.pax,
|
||||
|
Loading…
Reference in New Issue
Block a user