Chore: Model relationships updated to make them simpler Chore: Bill printing majorly refactored for it Due to the sheer depth of the changes. There can be showstoppers. Please test it carefully
15 lines
305 B
TypeScript
15 lines
305 B
TypeScript
export class UpdateProductPricesItem {
|
|
id: string;
|
|
name: string;
|
|
oldPrice: number;
|
|
newPrice: number | null;
|
|
|
|
public constructor(init?: Partial<UpdateProductPricesItem>) {
|
|
this.id = '';
|
|
this.name = '';
|
|
this.oldPrice = 0;
|
|
this.newPrice = null;
|
|
Object.assign(this, init);
|
|
}
|
|
}
|