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
19 lines
359 B
TypeScript
19 lines
359 B
TypeScript
import { Regime } from './regime';
|
|
|
|
export class Tax {
|
|
id: string | undefined;
|
|
name: string;
|
|
rate: number;
|
|
regime: Regime;
|
|
isFixture: boolean;
|
|
|
|
public constructor(init?: Partial<Tax>) {
|
|
this.id = undefined;
|
|
this.name = '';
|
|
this.rate = 0;
|
|
this.regime = new Regime();
|
|
this.isFixture = false;
|
|
Object.assign(this, init);
|
|
}
|
|
}
|