taxtank-core 0.30.111 → 0.30.112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/db/Models/sole/sole-business.mjs +1 -1
- package/esm2020/lib/forms/sole/sole-business.form.mjs +6 -6
- package/esm2020/lib/models/sole/sole-business.mjs +10 -7
- package/fesm2015/taxtank-core.mjs +46 -42
- package/fesm2015/taxtank-core.mjs.map +1 -1
- package/fesm2020/taxtank-core.mjs +46 -42
- package/fesm2020/taxtank-core.mjs.map +1 -1
- package/lib/db/Models/sole/sole-business.d.ts +1 -0
- package/lib/forms/sole/sole-business.form.d.ts +1 -1
- package/lib/models/sole/sole-business.d.ts +7 -6
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ export declare class SoleBusiness extends AbstractModel {
|
|
|
19
19
|
deletedAt?: Date;
|
|
20
20
|
user?: User;
|
|
21
21
|
activity?: SoleBusinessActivity;
|
|
22
|
+
isPrimaryProduction?: boolean;
|
|
22
23
|
allocations?: SoleBusinessAllocation[];
|
|
23
24
|
losses?: SoleBusinessLoss[];
|
|
24
25
|
invoices?: SoleInvoice[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AbstractForm } from '../abstract.form';
|
|
2
2
|
import { SoleBusiness } from '../../models';
|
|
3
3
|
import { UntypedFormGroup } from '@angular/forms';
|
|
4
|
-
import { IEventListener } from '../../interfaces
|
|
4
|
+
import { IEventListener } from '../../interfaces';
|
|
5
5
|
export declare class SoleBusinessForm extends AbstractForm<SoleBusiness> implements IEventListener {
|
|
6
6
|
private business;
|
|
7
7
|
constructor(business?: SoleBusiness);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { SoleBusiness as SoleBusinessBase } from '../../db/Models/sole/sole-business';
|
|
2
|
-
import { User } from '../user
|
|
2
|
+
import { User } from '../user';
|
|
3
3
|
import { SoleBusinessAllocation } from './sole-business-allocation';
|
|
4
4
|
import { SoleBusinessLoss } from './sole-business-loss';
|
|
5
5
|
import { SoleInvoice } from './sole-invoice';
|
|
6
6
|
import { SoleInvoiceTemplate } from './sole-invoice-template';
|
|
7
7
|
import { VehicleClaim } from '../vehicle';
|
|
8
|
-
import { Depreciation } from '../depreciation
|
|
9
|
-
import { Transaction } from '../transaction
|
|
10
|
-
import { Photoable } from '../../interfaces
|
|
11
|
-
import { SoleBusinessActivity } from '../../db/Models
|
|
12
|
-
import { IncomeSource } from '../income-source
|
|
8
|
+
import { Depreciation } from '../depreciation';
|
|
9
|
+
import { Transaction } from '../transaction';
|
|
10
|
+
import { Photoable } from '../../interfaces';
|
|
11
|
+
import { SoleBusinessActivity } from '../../db/Models';
|
|
12
|
+
import { IncomeSource } from '../income-source';
|
|
13
13
|
export declare class SoleBusiness extends SoleBusinessBase implements Photoable {
|
|
14
14
|
/**
|
|
15
15
|
* Maximum number of businesses that a person can have, according to the ATO
|
|
@@ -25,6 +25,7 @@ export declare class SoleBusiness extends SoleBusinessBase implements Photoable
|
|
|
25
25
|
depreciations: Depreciation[];
|
|
26
26
|
activity: SoleBusinessActivity;
|
|
27
27
|
incomeSource: IncomeSource;
|
|
28
|
+
isPrimaryProduction: boolean;
|
|
28
29
|
getPhotoPlaceholder(): string;
|
|
29
30
|
getPhoto(): string;
|
|
30
31
|
}
|