Feature: Cancelled bills are now separate from void bills.
Void bills are automatically generated when printed bills are changed. Manually cancelled bills are called cancelled bills.
This commit is contained in:
@@ -4,7 +4,7 @@ export class ProductSaleReportItem {
|
||||
regularBill: number;
|
||||
noCharge: number;
|
||||
staff: number;
|
||||
void: number;
|
||||
cancel: number;
|
||||
|
||||
public constructor(init?: Partial<ProductSaleReportItem>) {
|
||||
this.name = '';
|
||||
@@ -12,7 +12,7 @@ export class ProductSaleReportItem {
|
||||
this.regularBill = 0;
|
||||
this.noCharge = 0;
|
||||
this.staff = 0;
|
||||
this.void = 0;
|
||||
this.cancel = 0;
|
||||
Object.assign(this, init);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user