Files
barker/bookie/src/app/beer-sale-report/beer-sale-report.ts
tanshu f929a731cb 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
2021-08-17 07:37:17 +05:30

25 lines
536 B
TypeScript

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);
}
}