Customer discount with prefill discount in sales.
This commit is contained in:
16
bookie/src/app/sales/discount/discount-item.ts
Normal file
16
bookie/src/app/sales/discount/discount-item.ts
Normal file
@ -0,0 +1,16 @@
|
||||
export class DiscountItem {
|
||||
id: string;
|
||||
name: string;
|
||||
discount: number;
|
||||
discountLimit: number;
|
||||
customerDiscount: number;
|
||||
|
||||
public constructor(init?: Partial<DiscountItem>) {
|
||||
this.id = '';
|
||||
this.name = '';
|
||||
this.discount = 0;
|
||||
this.discountLimit = 0;
|
||||
this.customerDiscount = 0;
|
||||
Object.assign(this, init);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user