Feature: In the Beer Sale Report, you can choose the type of consumption

Chore: Sorted the product sale report by name
Fix: Voided bills now also include the old bill number
This commit is contained in:
2021-08-17 07:26:54 +05:30
parent 1515c33e7b
commit f929a731cb
10 changed files with 96 additions and 27 deletions

View File

@ -3,12 +3,20 @@ import { BeerSaleReportItem } from './beer-sale-report-item';
export class BeerSaleReport {
startDate: string;
finishDate: string;
regular: boolean;
happy: boolean;
staff: boolean;
nc: boolean;
headers: string[];
data: BeerSaleReportItem[];
public constructor(init?: Partial<BeerSaleReport>) {
this.startDate = '';
this.finishDate = '';
this.regular = true;
this.happy = true;
this.staff = true;
this.nc = true;
this.data = [];
this.headers = [];
Object.assign(this, init);