Feature: Sale Analysis is working
Fix: Cashier Checkout multiple entries
This commit is contained in:
@ -12,8 +12,8 @@ import { map, switchMap } from 'rxjs/operators';
|
||||
import { TablesDialogComponent } from '../tables-dialog/tables-dialog.component';
|
||||
import { TableService } from '../../tables/table.service';
|
||||
import { ToasterService } from '../../core/toaster.service';
|
||||
import { AuthService } from "../../auth/auth.service";
|
||||
import { SelectionModel } from "@angular/cdk/collections";
|
||||
import { AuthService } from '../../auth/auth.service';
|
||||
import { SelectionModel } from '@angular/cdk/collections';
|
||||
|
||||
@Component({
|
||||
selector: 'app-bills',
|
||||
@ -56,8 +56,8 @@ export class BillsComponent implements OnInit {
|
||||
}
|
||||
|
||||
isAnySelected(kot: Kot) {
|
||||
let total: number = 0,
|
||||
found: number = 0;
|
||||
let total = 0,
|
||||
found = 0;
|
||||
this.bs.data.filter(
|
||||
x => x.kotId === kot.id
|
||||
).forEach((c: any) => {
|
||||
@ -118,7 +118,7 @@ export class BillsComponent implements OnInit {
|
||||
}
|
||||
|
||||
moveKot(kot: Kot) {
|
||||
const canMergeTables = this.auth.hasPermission("Merge Tables");
|
||||
const canMergeTables = this.auth.hasPermission('Merge Tables');
|
||||
this.dialog.open(TablesDialogComponent, {
|
||||
// width: '750px',
|
||||
data: {
|
||||
|
||||
Reference in New Issue
Block a user