Fix: Accidentally used menu category instead of sale category

This commit is contained in:
2026-02-14 06:00:09 +00:00
parent 061dd1310d
commit c9fa83e8ac
8 changed files with 33 additions and 34 deletions
@@ -1,10 +1,10 @@
import { MenuCategory } from '../core/menu-category';
import { SaleCategory } from '../core/sale-category';
import { BeerSaleReportItem } from './beer-sale-report-item';
export class BeerSaleReport {
startDate: string;
finishDate: string;
menuCategory: MenuCategory;
saleCategory: SaleCategory;
regular: boolean;
happy: boolean;
staff: boolean;
@@ -15,7 +15,7 @@ export class BeerSaleReport {
public constructor(init?: Partial<BeerSaleReport>) {
this.startDate = '';
this.finishDate = '';
this.menuCategory = new MenuCategory();
this.saleCategory = new SaleCategory();
this.regular = true;
this.happy = true;
this.staff = true;