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:
2023-03-17 08:27:30 +05:30
parent a62018ad1f
commit 1a08066c2d
15 changed files with 170 additions and 39 deletions
@@ -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);
}
}